mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Add dev_flush() to set_lv()
This commit is contained in:
parent
99f247f887
commit
4098f6282c
@ -1,5 +1,6 @@
|
||||
Version 2.02.13 -
|
||||
===================================
|
||||
Add dev_flush() to set_lv().
|
||||
Add lvchange --resync.
|
||||
Perform high-level free space check before each allocation attempt.
|
||||
Don't allow a node to remove an LV that's exclusively active on anther node.
|
||||
|
@ -1222,6 +1222,7 @@ int set_lv(struct cmd_context *cmd, struct logical_volume *lv, int value)
|
||||
return 0;
|
||||
|
||||
dev_set(dev, UINT64_C(0), (size_t) 4096, value);
|
||||
dev_flush(dev);
|
||||
dev_close_immediate(dev);
|
||||
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user