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-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html