XFS supports an ioctl call to report valid sizes for direct I/O operations,
one of the fields (maximum size) was returning zero which confused user space
code.
Date: Tue Mar 6 07:30:57 PST 2001
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:89039a
linux/fs/xfs/xfs_dmapi.c - 1.31
- Fix d_maxiosz calculation.
linux/include/linux/page_buf.h - 1.79
- prototype for max direct io size call.
linux/fs/xfs/linux/xfs_ioctl.c - 1.32
- In the DIOINFO ioctl call, report the correct d_maxiosz to user space.
linux/fs/pagebuf/page_buf_io.c - 1.65
- Add call to report the maximum direct I/O size which will be
performed as
a single operation.
|