Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 309311
b: refs/heads/master
c: 22f46ce
h: refs/heads/master
i:
  309309: 2ffdefe
  309307: efdf64c
  309303: 5886ce5
  309295: 86e0395
  309279: a2f79ef
  309247: 1666743
v: v3
  • Loading branch information
Lars Ellenberg authored and Philipp Reisner committed May 9, 2012
1 parent cd68e8f commit ed54160
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dfa8bedbfe881caf6676704ab1aae18dfe8e430a
refs/heads/master: 22f46ce2ef94151f806f84ab0f9ee43a72dfb1f1
6 changes: 3 additions & 3 deletions trunk/drivers/block/drbd/drbd_bitmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ static void bm_async_io_complete(struct bio *bio, int error)
static void bm_page_io_async(struct bm_aio_ctx *ctx, int page_nr, int rw) __must_hold(local)
{
/* we are process context. we always get a bio */
struct bio *bio = bio_alloc(GFP_KERNEL, 1);
struct bio *bio = bio_alloc(GFP_NOIO, 1);
struct drbd_conf *mdev = ctx->mdev;
struct drbd_bitmap *b = mdev->bitmap;
struct page *page;
Expand Down Expand Up @@ -1029,7 +1029,7 @@ static int bm_rw(struct drbd_conf *mdev, int rw, unsigned lazy_writeout_upper_id
* as we submit copies of pages anyways.
*/

ctx = kmalloc(sizeof(struct bm_aio_ctx), GFP_KERNEL);
ctx = kmalloc(sizeof(struct bm_aio_ctx), GFP_NOIO);
if (!ctx)
return -ENOMEM;

Expand Down Expand Up @@ -1175,7 +1175,7 @@ int drbd_bm_write_page(struct drbd_conf *mdev, unsigned int idx) __must_hold(loc
return 0;
}

ctx = kmalloc(sizeof(struct bm_aio_ctx), GFP_KERNEL);
ctx = kmalloc(sizeof(struct bm_aio_ctx), GFP_NOIO);
if (!ctx)
return -ENOMEM;

Expand Down

0 comments on commit ed54160

Please sign in to comment.