Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 345693
b: refs/heads/master
c: 8b45a5c
h: refs/heads/master
i:
  345691: 08dd3b4
v: v3
  • Loading branch information
Lars Ellenberg authored and Jens Axboe committed Oct 30, 2012
1 parent 17e5202 commit cf7128d
Show file tree
Hide file tree
Showing 3 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: 0b143d4382b62db6738196caaefa793e5c0f6690
refs/heads/master: 8b45a5c8a190d0ea0077928fd8e95c0752e40e41
2 changes: 1 addition & 1 deletion trunk/drivers/block/drbd/drbd_int.h
Original file line number Diff line number Diff line change
Expand Up @@ -2497,7 +2497,7 @@ static inline void drbd_md_flush(struct drbd_conf *mdev)
if (test_bit(MD_NO_FUA, &mdev->flags))
return;

r = blkdev_issue_flush(mdev->ldev->md_bdev, GFP_KERNEL, NULL);
r = blkdev_issue_flush(mdev->ldev->md_bdev, GFP_NOIO, NULL);
if (r) {
set_bit(MD_NO_FUA, &mdev->flags);
dev_err(DEV, "meta data flush failed with status %d, disabling md-flushes\n", r);
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/block/drbd/drbd_receiver.c
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,7 @@ static void drbd_flush(struct drbd_conf *mdev)
int rv;

if (mdev->write_ordering >= WO_bdev_flush && get_ldev(mdev)) {
rv = blkdev_issue_flush(mdev->ldev->backing_bdev, GFP_KERNEL,
rv = blkdev_issue_flush(mdev->ldev->backing_bdev, GFP_NOIO,
NULL);
if (rv) {
dev_info(DEV, "local disk flush failed with status %d\n", rv);
Expand Down Expand Up @@ -2907,7 +2907,7 @@ static int receive_SyncParam(struct drbd_conf *mdev, enum drbd_packets cmd, unsi

fifo_size = (mdev->sync_conf.c_plan_ahead * 10 * SLEEP_TIME) / HZ;
if (fifo_size != mdev->rs_plan_s.size && fifo_size > 0) {
rs_plan_s = kzalloc(sizeof(int) * fifo_size, GFP_KERNEL);
rs_plan_s = kzalloc(sizeof(int) * fifo_size, GFP_NOIO);
if (!rs_plan_s) {
dev_err(DEV, "kmalloc of fifo_buffer failed");
goto disconnect;
Expand Down

0 comments on commit cf7128d

Please sign in to comment.