xfs
[Top] [All Lists]

TAKE - support sector size O_DIRECT alignment in 2.6

To: linux-xfs@xxxxxxxxxxx
Subject: TAKE - support sector size O_DIRECT alignment in 2.6
From: Steve Lord <lord@xxxxxxx>
Date: Tue, 29 Jul 2003 11:42:22 -0500
Sender: linux-xfs-bounce@xxxxxxxxxxx
Change XFS to support sector aligned O_DIRECT rather than filesystem block
alignment.


Date:  Tue Jul 29 09:41:53 PDT 2003
Workarea:  jen.americas.sgi.com:/src/lord/xfs-linux.2.5

The following file(s) were checked into:
  bonnie.engr.sgi.com:/isms/slinx/2.5.x-xfs


Modid:  2.5.x-xfs:slinx:154477a
linux/fs/xfs/linux/xfs_lrw.c - 1.191
        - Do per device alignment for direct IO.

linux/fs/xfs/linux/xfs_ioctl.c - 1.98
        - Change XFS_IOC_DIOINFO to return the new alignment rules

linux/fs/xfs/pagebuf/page_buf.h - 1.72
        - Add new flags for bmap options and results

linux/fs/xfs/linux/xfs_aops.c - 1.42
        - Use the PBMF_NEW flag on an extent to indicate that the buffer head is
          new. In the direct IO path, determine which device the inode lies on
          so we can pass it down to blockdev_direct_IO. Lets us do sector 
aligned
          O_DIRECT on the data device.

linux/fs/xfs/linux/xfs_iomap.c - 1.12
        - If we create a new mapping during an iomap operation, set the PBMF_NEW
          flag in it. Done under the ilock, so only one thread ever gets it.



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE - support sector size O_DIRECT alignment in 2.6, Steve Lord <=