From f074051ff550f9f1f1a8ab4868277d049a7fd7aa Mon Sep 17 00:00:00 2001 From: Brian Foster Date: Thu, 24 Jul 2014 19:56:08 +1000 Subject: [PATCH] xfs: squash prealloc while over quota free space as well From: Brian Foster 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 Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- Reading git-format-patch failed