Fix O_DIRECT using uninitialized memory, user space is passing in the same
zero page at lots of addresses. The xfs code was locking the user pages
which is unneccessary, end result deadlock on ourselves.
Date: Wed Jun 11 08:58:15 PDT 2003
Workarea: jen.americas.sgi.com:/src/lord/xfs-linux.2.4
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: 2.4.x-xfs:slinx:150885a
linux/fs/xfs/pagebuf/page_buf.c - 1.120
- In pagebuf_lookup, create a pagebuf which is lockable so we
do not lock the pages within it during I/O. Only O_DIRECT
does I/O on this type of pagebuf.
|