btrfs: make space cache inode readahead failure nonfatal
authorDavid Sterba <dsterba@suse.com>
Mon, 23 Jan 2017 16:28:19 +0000 (17:28 +0100)
committerDavid Sterba <dsterba@suse.com>
Fri, 17 Feb 2017 11:03:49 +0000 (12:03 +0100)
commit1d4805386ef17ebaf6ada087138d548c469369ad
tree9ea455e62faf08a51f85312b713d6e4633154762
parent6602caf149cc7698fc94160803c598ae708d686c
btrfs: make space cache inode readahead failure nonfatal

We do a readahead of the free space cache inode to speed things up but
the failure is not fatal, like in other readahead cases. Proper reads
would need to happen anyway and any errors would be caught there.

Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/free-space-cache.c