summaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2014-10-16 14:45:20 -0400
committerMike Snitzer <snitzer@redhat.com>2014-10-17 01:40:23 -0400
commit9d28eb12447ee08bb5d1e8bb3195cf20e1ecd1c0 (patch)
tree24ece98c42840d5b51a1a1f5d520f6a41dd60c0c /lib/mpi/mpiutil.c
parenta3f2af2547884e02f7e43f995a6c442a4e54f1ea (diff)
dm bufio: change __GFP_IO to __GFP_FS in shrinker callbacks
The shrinker uses gfp flags to indicate what kind of operation can the driver wait for. If __GFP_IO flag is present, the driver can wait for block I/O operations, if __GFP_FS flag is present, the driver can wait on operations involving the filesystem. dm-bufio tested for __GFP_IO. However, dm-bufio can run on a loop block device that makes calls into the filesystem. If __GFP_IO is present and __GFP_FS isn't, dm-bufio could still block on filesystem operations if it runs on a loop block device. The change from __GFP_IO to __GFP_FS supposedly fixes one observed (though unreproducible) deadlock involving dm-bufio and loop device. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions