diff options
author | Dave Chinner <dchinner@redhat.com> | 2010-04-13 15:06:45 +1000 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-04-16 13:51:44 -0500 |
commit | f1d486a3617a2f620b31224e4ace1496c4627e39 (patch) | |
tree | 82eae8ca41e529690c2b71d712e886161e786e6b /fs | |
parent | b6f8dd49dbdbfa60a33bba3d4b766fe341109b4b (diff) | |
download | linux-f1d486a3617a2f620b31224e4ace1496c4627e39.tar.gz linux-f1d486a3617a2f620b31224e4ace1496c4627e39.tar.bz2 linux-f1d486a3617a2f620b31224e4ace1496c4627e39.zip |
xfs: don't warn on EAGAIN in inode reclaim
Any inode reclaim flush that returns EAGAIN will result in the inode
reclaim being attempted again later. There is no need to issue a
warning into the logs about this situation.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Alex Elder <aelder@sgi.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_sync.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/xfs_sync.c b/fs/xfs/linux-2.6/xfs_sync.c index 05cd85317f6f..fd9698215759 100644 --- a/fs/xfs/linux-2.6/xfs_sync.c +++ b/fs/xfs/linux-2.6/xfs_sync.c @@ -820,10 +820,10 @@ xfs_reclaim_inode( * call into reclaim to find it in a clean state instead of waiting for * it now. We also don't return errors here - if the error is transient * then the next reclaim pass will flush the inode, and if the error - * is permanent then the next sync reclaim will relcaim the inode and + * is permanent then the next sync reclaim will reclaim the inode and * pass on the error. */ - if (error && !XFS_FORCED_SHUTDOWN(ip->i_mount)) { + if (error && error != EAGAIN && !XFS_FORCED_SHUTDOWN(ip->i_mount)) { xfs_fs_cmn_err(CE_WARN, ip->i_mount, "inode 0x%llx background reclaim flush failed with %d", (long long)ip->i_ino, error); |