diff options
author | Dave Chinner <david@fromorbit.com> | 2009-04-06 18:48:30 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@brick.lst.de> | 2009-04-06 18:48:30 +0200 |
commit | 153fec43ce5264dfe9f3530b281a2e940b25a0a8 (patch) | |
tree | 803fa00839de5702a0349b434d24a788e9753d4e /fs/xfs/xfs_inode.c | |
parent | xfs: block callers of xfs_flush_inodes() correctly (diff) | |
download | linux-153fec43ce5264dfe9f3530b281a2e940b25a0a8.tar.xz linux-153fec43ce5264dfe9f3530b281a2e940b25a0a8.zip |
xfs: flush delayed allcoation blocks on ENOSPC in create
If we are creating lots of small files, we can fail to get
a reservation for inode create earlier than we should due to
EOF preallocation done during delayed allocation reservation.
Hence on the first reservation ENOSPC failure flush all the
delayed allocation blocks out of the system and retry.
This fixes the last commonly triggered spurious ENOSPC issue
that has been reported.
Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_inode.c')
0 files changed, 0 insertions, 0 deletions