1
0
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:
Alasdair Kergon 2006-10-24 18:25:30 +00:00
parent 99f247f887
commit 4098f6282c
2 changed files with 2 additions and 0 deletions

View File

@ -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.

View File

@ -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;