summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorGoldwyn Rodrigues <rgoldwyn@suse.com>2020-09-24 11:39:15 -0500
committerDavid Sterba <dsterba@suse.com>2020-12-08 15:53:47 +0100
commitb8d8e1fd570a194904f545b135efc880d96a41a4 (patch)
tree00f6b7f6e18719abead70cc06033312805e7a06d /tools/perf/scripts/python/exported-sql-viewer.py
parentc86537a42f8661a26c96cbb32352b33cb57ac75c (diff)
downloadlinux-b8d8e1fd570a194904f545b135efc880d96a41a4.tar.gz
linux-b8d8e1fd570a194904f545b135efc880d96a41a4.zip
btrfs: introduce btrfs_write_check()
btrfs_write_check() checks write parameters in one place before beginning a write. This does away with inode_unlock() after every check. In the later patches, it will help push inode_lock/unlock() in buffered and direct write functions respectively. generic_write_checks needs to be called before as it could truncate iov_iter and its return used as count. Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions