aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorIoannis Angelakopoulos <[email protected]>2022-07-25 22:11:52 +0000
committerDavid Sterba <[email protected]>2022-09-26 10:27:53 +0000
commit3e738c531aad8caa7f3d20ab878a8a0d3574e730 (patch)
treec8ea00e93b77465a34ce0f5fec5bf0dcacdeaf68 /fs/btrfs/dev-replace.c
parentbtrfs: add lockdep annotations for num_extwriters wait event (diff)
downloadkernel-3e738c531aad8caa7f3d20ab878a8a0d3574e730.tar.gz
kernel-3e738c531aad8caa7f3d20ab878a8a0d3574e730.zip
btrfs: add lockdep annotations for transaction states wait events
Add lockdep annotations for the transaction states that have wait events; 1) TRANS_STATE_COMMIT_START 2) TRANS_STATE_UNBLOCKED 3) TRANS_STATE_SUPER_COMMITTED 4) TRANS_STATE_COMPLETED The new macros introduced here to annotate the transaction states wait events have the same effect as the generic lockdep annotation macros. With the exception of the lockdep annotation for TRANS_STATE_COMMIT_START the transaction thread has to acquire the lockdep maps for the transaction states as reader after the lockdep map for num_writers is released so that lockdep does not complain. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Ioannis Angelakopoulos <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions