[PATCH-2.4.2ac26] fix raw IO

From: Stephen Tweedie (sct@redhat.com)
Date: Tue Mar 27 2001 - 23:49:30 EST


Hi,

On Fri, Mar 23, 2001 at 10:13:44PM +0000, Alan Cox wrote:
> >
> > I really need to know any *specific* issues with RAWIO.
>
> All I know is that Stephen said he had a set of patches needed to fix rawio.
> I've not applied them nor afaik has Linus.

Ben LaHaise has been testing Oracle on raw IO with the new patches,
and I only got the thumbs up on that yesterday. Patch below.

This fixes:

 Fix two problems when faulting in pages for direct access:
  Check pmd and pgd entries for validity in follow page;
  Be prepared to call handle_mm_fault more than once if necessary
  to complete the page fault.

 Allow raw devices to be unbound by binding to dev (0,0)

 Use SetPageDirty to mark pages dirty in memory after a read from disk

 Wait for pending IO correctly if an error occurs during IO

 Return -EIO if an IO error occurs in the first block of the IO

Cheers,
 Stephen



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Mar 31 2001 - 21:00:17 EST