OSDN Git Service

xfs: allow writeback on pages without buffer heads
authorChristoph Hellwig <hch@lst.de>
Thu, 12 Jul 2018 05:26:04 +0000 (22:26 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 12 Jul 2018 05:26:04 +0000 (22:26 -0700)
commitac8ee54669c07e6b38b4cae13a65f5ec06a11323
treee133c41a634351a0446928dfc4e709257abe0746
parent8e1f065bea1b1c128c92ef7e386779a23cd5d342
xfs: allow writeback on pages without buffer heads

Disable the IOMAP_F_BUFFER_HEAD flag on file systems with a block size
equal to the page size, and deal with pages without buffer heads in
writeback.  Thanks to the previous refactoring this is basically trivial
now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_aops.c
fs/xfs/xfs_iomap.c