aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/filelayout/filelayoutdev.c
diff options
context:
space:
mode:
authorBrian Foster <[email protected]>2014-07-24 09:56:08 +0000
committerDave Chinner <[email protected]>2014-07-24 09:56:08 +0000
commitf074051ff550f9f1f1a8ab4868277d049a7fd7aa (patch)
tree9009e61e9af493336bc869535426c286960eaf7e /fs/nfs/filelayout/filelayoutdev.c
parentxfs: run an eofblocks scan on ENOSPC/EDQUOT (diff)
downloadkernel-f074051ff550f9f1f1a8ab4868277d049a7fd7aa.tar.gz
kernel-f074051ff550f9f1f1a8ab4868277d049a7fd7aa.zip
xfs: squash prealloc while over quota free space as well
From: Brian Foster <[email protected]> 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 <[email protected]> Reviewed-by: Dave Chinner <[email protected]> Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'fs/nfs/filelayout/filelayoutdev.c')
0 files changed, 0 insertions, 0 deletions