diff options
author | Christoph Hellwig <hch@lst.de> | 2016-10-11 01:03:19 +0300 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-10-11 01:03:19 +0300 |
commit | feac470e3642e8956ac9b7f14224e6b301b9219d (patch) | |
tree | 6633916ccfd93027c9d595f57d2b7fc411069430 /include/linux | |
parent | 6f97077ff6ef28e0f3b361b6ba9c95a222ef384b (diff) | |
download | linux-feac470e3642e8956ac9b7f14224e6b301b9219d.tar.xz |
xfs: convert COW blocks to real blocks before unwritten extent conversion
We need to splice COW blocks we've completed in xfs_end_io_direct_write
into the data fork before converting unwritten extents. Otherwise
xfs_bmapi_write might first allocate blocks for any holes in the data
fork, which isn't only not needed but also harmful as it might cause
reserved block underruns in the transaction.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions