linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Moyer <jmoyer-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Qiuyang Wu <Qiuyang.Wu-HKixBCOQz3hWk0Htik3J/w@public.gmane.org>
Cc: "linux-nfs\@vger.kernel.org"
	<linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"linux-fsdevel\@vger.kernel.org"
	<linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: pread/pwrite bug on linux?
Date: Wed, 04 Mar 2009 13:48:09 -0500	[thread overview]
Message-ID: <x49k575jf9y.fsf@segfault.boston.devel.redhat.com> (raw)
In-Reply-To: <293BC70BB130E648A6631DB2F05B6E10019D6B277E-uiPIUNf6hlr3OT/vyeh27fufCSb+aD3WLzEdoUbNIic@public.gmane.org> (Qiuyang Wu's message of "Tue, 3 Mar 2009 10:47:24 -0800")

Qiuyang Wu <Qiuyang.Wu-HKixBCOQz3hWk0Htik3J/w@public.gmane.org> 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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2009-03-04 18:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <b9ec419f0903021120g62814b6embe8eeaf354f8b535@mail.gmail.com>
2009-03-02 21:53 ` pread/pwrite bug on linux? Qiuyang Wu
     [not found]   ` <293BC70BB130E648A6631DB2F05B6E10019D6B224C-uiPIUNf6hlr3OT/vyeh27fufCSb+aD3WLzEdoUbNIic@public.gmane.org>
2009-03-03 18:10     ` Jeff Moyer
2009-03-03 18:47       ` Qiuyang Wu
     [not found]         ` <293BC70BB130E648A6631DB2F05B6E10019D6B277E-uiPIUNf6hlr3OT/vyeh27fufCSb+aD3WLzEdoUbNIic@public.gmane.org>
2009-03-03 19:37           ` Trond Myklebust
2009-03-03 20:07             ` Qiuyang Wu
2009-03-04 18:48           ` Jeff Moyer [this message]
     [not found]             ` <x49k575jf9y.fsf-RRHT56Q3PSP4kTEheFKJxxDDeQx5vsVwAInAS/Ez/D0@public.gmane.org>
2009-03-11  0:37               ` Qiuyang Wu
     [not found]                 ` <293BC70BB130E648A6631DB2F05B6E10019D89830F-uiPIUNf6hlr3OT/vyeh27fufCSb+aD3WLzEdoUbNIic@public.gmane.org>
2009-03-11 14:43                   ` Jeff Moyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=x49k575jf9y.fsf@segfault.boston.devel.redhat.com \
    --to=jmoyer-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=Qiuyang.Wu-HKixBCOQz3hWk0Htik3J/w@public.gmane.org \
    --cc=linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).