diff options
author | Brian Foster <bfoster@redhat.com> | 2014-07-24 11:56:08 +0200 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-07-24 11:56:08 +0200 |
commit | f074051ff550f9f1f1a8ab4868277d049a7fd7aa (patch) | |
tree | 9009e61e9af493336bc869535426c286960eaf7e /fs/xfs/xfs_ioctl32.h | |
parent | xfs: run an eofblocks scan on ENOSPC/EDQUOT (diff) | |
download | linux-f074051ff550f9f1f1a8ab4868277d049a7fd7aa.tar.xz linux-f074051ff550f9f1f1a8ab4868277d049a7fd7aa.zip |
xfs: squash prealloc while over quota free space as well
From: Brian Foster <bfoster@redhat.com>
Commit 4d559a3b introduced heavy prealloc. squashing to catch the case
of requesting too large a prealloc on smaller filesystems, leading to
repeated flush and retry cycles that occur on ENOSPC. Now that we issue
eofblocks scans on EDQUOT/ENOSPC, squash the prealloc against the
minimum available free space across all applicable quotas as well to
avoid a similar problem of repeated eofblocks scans.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_ioctl32.h')
0 files changed, 0 insertions, 0 deletions