aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPatrick Farrell <[email protected]>2016-06-20 16:55:35 -0400
committerGreg Kroah-Hartman <[email protected]>2016-06-20 14:28:39 -0700
commit0e5fd06ca069a8edc32a035add93112f6681dd72 (patch)
treeefdf6e7c7b0d8b2fdd751157a03d8edfe8bf5d1a /tools/perf/scripts/python
parent81ea39ecf963fe0c44b8772a19863ecb154782f6 (diff)
staging/lustre/llite: take trunc_sem only at vvp layer
The lli_trunc_sem is taken in 'read' mode in both ll_page_mkwrite and vvp_io_fault_start. This can lead to a deadlock with another thread which asks for the semaphore in write mode between thse two read calls. Since all users of lli_trunc_sem are in the vvp layer, we can satisfy the requirement to exclude truncate by taking the semaphore only in vvp_io_fault_start. Signed-off-by: Patrick Farrell <[email protected]> Reviewed-on: http://review.whamcloud.com/19315 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7981 Reviewed-by: Jinshan Xiong <[email protected]> Reviewed-by: Andriy Skulysh <[email protected]> Signed-off-by: Oleg Drokin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions