diff options
| author | Sage Weil <sage@inktank.com> | 2012-08-30 16:26:15 -0600 |
|---|---|---|
| committer | Chris Mason <chris.mason@fusionio.com> | 2012-10-01 15:19:07 -0400 |
| commit | 6fc4e3548598d10a5e947797a09cbc1b257a22ab (patch) | |
| tree | ad7e5727ef08cebffa0bc1c36af05c363f851218 /kernel/mutex-debug.c | |
| parent | 2aaa66558172b017f36bf38ae69372813dedee9d (diff) | |
Btrfs: pass lockdep rwsem metadata to async commit transaction
The freeze rwsem is taken by sb_start_intwrite() and dropped during the
commit_ or end_transaction(). In the async case, that happens in a worker
thread. Tell lockdep the calling thread is releasing ownership of the
rwsem and the async thread is picking it up.
XFS plays the same trick in fs/xfs/xfs_aops.c.
Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'kernel/mutex-debug.c')
0 files changed, 0 insertions, 0 deletions
