aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGoldwyn Rodrigues <[email protected]>2020-09-24 11:39:16 -0500
committerDavid Sterba <[email protected]>2020-12-08 15:53:47 +0100
commita14b78ad06aba0fa7e76d2bc13c5ba581a7f331a (patch)
treec777a29dc6c69bd1ae8fa2e32a491cda74aa6a22 /tools/perf/scripts/python
parentb8d8e1fd570a194904f545b135efc880d96a41a4 (diff)
btrfs: introduce btrfs_inode_lock()/unlock()
btrfs_inode_lock/unlock() are wrappers around inode locks, separating the type of lock and actual locking. - 0 - default, exclusive lock - BTRFS_ILOCK_SHARED - for shared locks, for possible parallel DIO - BTRFS_ILOCK_TRY - for the RWF_NOWAIT sequence The bits SHARED and TRY can be combined together. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Goldwyn Rodrigues <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions