projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d38ead
)
[PATCH] Avoid deadlock in sync_page_io by using GFP_NOIO
author
Neil Brown
<neilb@cse.unsw.edu.au>
Sat, 16 Apr 2005 22:23:54 +0000
(15:23 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Sat, 16 Apr 2005 22:23:54 +0000
(15:23 -0700)
..as sync_page_io can be called on the write-out path.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/md.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/md.c
b/drivers/md/md.c
index 04562add1920ad08ad48608c8ba5fc4662ed6cfa..aa72c88a024f7ef06f4c32263497a379c0bd7094 100644
(file)
--- a/
drivers/md/md.c
+++ b/
drivers/md/md.c
@@
-332,7
+332,7
@@
static int bi_complete(struct bio *bio, unsigned int bytes_done, int error)
static int sync_page_io(struct block_device *bdev, sector_t sector, int size,
struct page *page, int rw)
{
- struct bio *bio = bio_alloc(GFP_
KERNEL
, 1);
+ struct bio *bio = bio_alloc(GFP_
NOIO
, 1);
struct completion event;
int ret;