aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorMatthew Wilcox <[email protected]>2015-09-08 14:59:22 -0700
committerLinus Torvalds <[email protected]>2015-09-08 15:35:28 -0700
commit01a33b4ace68bc35679a347f21d5ed6e222e30dc (patch)
treef65f2883e5c1f46691eea046e5986a28558cb687 /tools/perf/scripts/python/net_dropmonitor.py
parented923b5776a2d2e949bd5b20f3956d68f3c826b7 (diff)
ext4: start transaction before calling into DAX
Jan Kara pointed out that in the case where we are writing to a hole, we can end up with a lock inversion between the page lock and the journal lock. We can avoid this by starting the transaction in ext4 before calling into DAX. The journal lock nests inside the superblock pagefault lock, so we have to duplicate that code from dax_fault, like XFS does. Signed-off-by: Matthew Wilcox <[email protected]> Cc: Jan Kara <[email protected]> Cc: Theodore Ts'o <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions