diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-01-28 10:56:38 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-02-03 09:18:48 -0800 |
commit | b8055ed6779d675e30f019ba3b7141848a4d6558 (patch) | |
tree | e887774dc108fefb829405763bb91ebba6c68abe /drivers/media/dvb-frontends/dib3000mc.c | |
parent | 1aecf3734a95f3c167d1495550ca57556d33f7ec (diff) | |
download | linux-b8055ed6779d675e30f019ba3b7141848a4d6558.tar.bz2 |
xfs: reduce quota reservation when doing a dax unwritten extent conversion
In commit 3b0fe47805802, we reduced the free space requirement to
perform a pre-write unwritten extent conversion on an S_DAX file. Since
we're not actually allocating any space, the logic goes, we only need
enough reservation to handle shape changes in the bmbt.
The same logic should have been applied to quota -- we're not allocating
any space, so we only need to reserve enough quota to handle the bmbt
shape changes.
Fixes: 3b0fe4780580 ("xfs: Don't use reserved blocks for data blocks with DAX")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'drivers/media/dvb-frontends/dib3000mc.c')
0 files changed, 0 insertions, 0 deletions