Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346294
b: refs/heads/master
c: 691631c
h: refs/heads/master
v: v3
  • Loading branch information
Lars Ellenberg authored and Philipp Reisner committed Dec 6, 2012
1 parent dbcf24b commit 96c6bea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 298307ed1d2ac4815b0ce9a5f1c9cc643f4a9aca
refs/heads/master: 691631c0652bc47e6d20b0d981e23a9025fd794e
5 changes: 5 additions & 0 deletions trunk/drivers/block/drbd/drbd_nl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1230,6 +1230,11 @@ int drbd_adm_disk_opts(struct sk_buff *skb, struct genl_info *info)
else
mdev->ldev->md.flags |= MDF_AL_DISABLED;

if (new_disk_conf->md_flushes)
clear_bit(MD_NO_FUA, &mdev->flags);
else
set_bit(MD_NO_FUA, &mdev->flags);

drbd_bump_write_ordering(mdev->tconn, WO_bdev_flush);

drbd_md_sync(mdev);
Expand Down

0 comments on commit 96c6bea

Please sign in to comment.