aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorMiklos Szeredi <[email protected]>2016-08-24 18:17:04 +0200
committerMiklos Szeredi <[email protected]>2016-08-24 18:17:04 +0200
commit8fba54aebbdf1f999738121922e74bf796ad60ee (patch)
treefca6bcc907a272cd72bf952778467a5ad4428a6a /lib/mpi/mpi-bit.c
parentfa8410b355251fd30341662a40ac6b22d3e38468 (diff)
fuse: direct-io: don't dirty ITER_BVEC pages
When reading from a loop device backed by a fuse file it deadlocks on lock_page(). This is because the page is already locked by the read() operation done on the loop device. In this case we don't want to either lock the page or dirty it. So do what fs/direct-io.c does: only dirty the page for ITER_IOVEC vectors. Reported-by: Sheng Yang <[email protected]> Fixes: aa4d86163e4e ("block: loop: switch to VFS ITER_BVEC") Signed-off-by: Miklos Szeredi <[email protected]> Cc: <[email protected]> # v4.1+ Reviewed-by: Sheng Yang <[email protected]> Reviewed-by: Ashish Samant <[email protected]> Tested-by: Sheng Yang <[email protected]> Tested-by: Ashish Samant <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions