summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/glops.c
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2012-08-31 00:26:15 +0200
committerChris Mason <chris.mason@fusionio.com>2012-10-01 21:19:07 +0200
commit6fc4e3548598d10a5e947797a09cbc1b257a22ab (patch)
treead7e5727ef08cebffa0bc1c36af05c363f851218 /fs/gfs2/glops.c
parentBtrfs: add hole punching (diff)
downloadlinux-6fc4e3548598d10a5e947797a09cbc1b257a22ab.tar.xz
linux-6fc4e3548598d10a5e947797a09cbc1b257a22ab.zip
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 'fs/gfs2/glops.c')
0 files changed, 0 insertions, 0 deletions