]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: get allocation alignment from the buftarg
authorDave Chinner <dchinner@redhat.com>
Mon, 26 Aug 2019 19:08:38 +0000 (12:08 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 27 Aug 2019 00:43:14 +0000 (17:43 -0700)
commit11577d9a5e2ec024ecc0b426824fa88388fb60d1
tree1281a72cc02b2c52b24dbeda7b8a1fc1b8201959
parentb63941a61ae03dc128a0b2b46263e6c51d7e02d9
xfs: get allocation alignment from the buftarg

Needed to feed into the allocation routine to guarantee the memory
buffers we add to bios are correctly aligned to the underlying
device.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_buf.h