summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorGoldwyn Rodrigues <rgoldwyn@suse.com>2020-09-24 11:39:14 -0500
committerDavid Sterba <dsterba@suse.com>2020-12-08 15:53:46 +0100
commitc86537a42f8661a26c96cbb32352b33cb57ac75c (patch)
treed4fcdf070c5b54313bce997e4f245cef777f5c5f /tools/perf/scripts/python/bin
parent5e8b9ef30392bb80f418cf4340b8c9c54039d5dc (diff)
downloadlinux-c86537a42f8661a26c96cbb32352b33cb57ac75c.tar.gz
linux-c86537a42f8661a26c96cbb32352b33cb57ac75c.zip
btrfs: check FS error state bit early during write
fs_info::fs_state is a filesystem bit check as opposed to inode and can be performed before we begin with write checks. This eliminates inode lock/unlock in case the error bit is set. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions