mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +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 -
|
Version 2.02.13 -
|
||||||
===================================
|
===================================
|
||||||
|
Add dev_flush() to set_lv().
|
||||||
Add lvchange --resync.
|
Add lvchange --resync.
|
||||||
Perform high-level free space check before each allocation attempt.
|
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.
|
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;
|
return 0;
|
||||||
|
|
||||||
dev_set(dev, UINT64_C(0), (size_t) 4096, value);
|
dev_set(dev, UINT64_C(0), (size_t) 4096, value);
|
||||||
|
dev_flush(dev);
|
||||||
dev_close_immediate(dev);
|
dev_close_immediate(dev);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user