[lkml]   [2007]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] aio: propogate post-EIOCBQUEUED errors to completion event
    On Mon, Feb 19, 2007 at 07:21:09PM -0500, Benjamin LaHaise wrote:
    > On Mon, Feb 19, 2007 at 04:50:48PM -0500, Chris Mason wrote:
    > > aio is not responsible for this particular synchronization. Those fixes
    > > (if we make them) should come from other places. The patch is important
    > > to get aio error handling right.
    > >
    > > I would argue that one common cause of the EIO is userland
    > > error (mmap concurrent with O_DIRECT), and EIO is the correct answer.
    > I disagree. That means that using the pagecache to synchronize things like
    > the proposed online defragmentation will occasionally make O_DIRECT users
    > fail. O_DIRECT doesn't prevent the sysadmin from copying files or other
    > page cache uses, which implies that generating an error in these cases is
    > horrifically broken. If only root could do it, I wouldn't complain, but
    > this would seem to imply that user vs root holes still exist.

    I'm working on this part in the placeholder patches. It's just a separate
    problem from the aio code.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-02-20 01:33    [W:0.021 / U:77.688 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site