RE: pread/pwrite bug on linux?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the responses.

Just FYI that the bug was acknowledged, also it seems RH v5.3 does not have the problem...



-----Original Message-----
From: Jeff Moyer [mailto:jmoyer@xxxxxxxxxx]
Sent: Wednesday, March 04, 2009 10:48 AM
To: Qiuyang Wu
Cc: linux-nfs@xxxxxxxxxxxxxxx; linux-fsdevel@xxxxxxxxxxxxxxx
Subject: Re: pread/pwrite bug on linux?

Qiuyang Wu <Qiuyang.Wu@xxxxxxxxxxxx> writes:

> Hi Jeff,
>
> Attached the sample program. Should be able to compile as-is.
>
> Let me know your findings or need additional info.

I am not able to reproduce the problem.  I tried with a RHEL 4 system,
using exactly the kernel you listed (2.6.9-55.EL) on an i386 system.  I
tried against ext2, ext3, and an nfs mount exported from a RHEL 5
system.  I should note that I modified your program to detect short
writes and continue instead of reporting a bogus error.  I'll reiterate
that the value of errno is undefined if the library/system call did not
return -1.

I noticed that your test case used NFS.  What NFS server were you using?
Can you think of any other details that might affect the test?

Thanks,
Jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux