[Bugme-new] [Bug 4318] New: fcntly system calls with options
F_SETLEASE and F_RDLCK fails with errorno:11
bugme-daemon at osdl.org
bugme-daemon at osdl.org
Wed Mar 9 08:38:20 PST 2005
http://bugme.osdl.org/show_bug.cgi?id=4318
Summary: fcntly system calls with options F_SETLEASE and F_RDLCK
fails with errorno:11
Kernel Version: 2.6.11-mm1
Status: NEW
Severity: normal
Owner: reiserfs-dev at namesys.com
Submitter: sharyathi at in.ibm.com
CC: sglass at us.ibm.com
Distribution:
SLES 9 SP 1
=========================
Hardware Environment:
/proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 2.80GHz
stepping : 7
cpu MHz : 2795.591
cache size : 512 KB
physical id : 0
siblings : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips : 5537.79
processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 2.80GHz
stepping : 7
cpu MHz : 2795.591
cache size : 512 KB
physical id : 0
siblings : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips : 5570.56
processor : 2
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 2.80GHz
stepping : 7
cpu MHz : 2795.591
cache size : 512 KB
physical id : 3
siblings : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips : 5586.94
processor : 3
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 2.80GHz
stepping : 7
cpu MHz : 2795.591
cache size : 512 KB
physical id : 3
siblings : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips : 5570.56
/proc/meminfo
MemTotal: 1554380 kB
MemFree: 32468 kB
Buffers: 254408 kB
Cached: 1024100 kB
SwapCached: 28512 kB
Active: 547816 kB
Inactive: 808472 kB
HighTotal: 655200 kB
HighFree: 640 kB
LowTotal: 899180 kB
LowFree: 31828 kB
SwapTotal: 3200360 kB
SwapFree: 3147488 kB
Dirty: 3864 kB
Writeback: 0 kB
Mapped: 78624 kB
Slab: 147520 kB
CommitLimit: 3977548 kB
Committed_AS: 449212 kB
PageTables: 872 kB
VmallocTotal: 114680 kB
VmallocUsed: 15976 kB
VmallocChunk: 98068 kB
HugePages_Total: 0
HugePages_Free: 0
Hugepagesize: 4096 kB
======================================
Software Environment:
Linux x235b 2.6.11-mm1 #1 SMP Mon Mar 7 05:24:10 PST 2005 i686 i686 i386
GNU/Linux
======================================
Problem Description:
when we run fcntly System call with F_SETLEASE and F_RDLCK options set fcntly
comes out with error no 11 (Try Again). But the problem is noticed even after
running the test several times and withour success.
======================================
Steps to reproduce:
Run:
int main()
{
int fd;
int returnValue;
if ((fd = open("tmp_file",O_RDWR|O_CREAT,0777)) == -1)
{
printf("File opening Failed");
exit(0);
}
returnValue=fcntl(fd,F_SETLEASE,F_RDLCK);
printf("\n fcntl Return Value:%d",returnValue);
printf("\n Error No: %d", errno);
printf("\n");
}
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Bugme-new
mailing list