1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib
Zdenek Kabelac 830df40482 Compare also file size to detect changed config file
Clvmd detects modifed config file before it takes lv_lock.
If the config file is changed rapidly - the change was ignored within
a seocnd ranged.  This patch adds also compare of file size.
So change like some flag for 0 to 1 would pass unnoticed - but
it's quick fix for failing test suite.

FIXME: Implement inotify solution.
2011-07-21 13:23:48 +00:00
..
activate Need to snapshot lookup by uuid instead of name in case it's renamed. 2011-07-08 15:35:50 +00:00
cache Slightly refactor the config code to allow better reuse (no functional change). 2011-07-18 13:26:08 +00:00
commands missing ifdef when new fn unused 2011-07-08 17:31:06 +00:00
config Compare also file size to detect changed config file 2011-07-21 13:23:48 +00:00
datastruct Revert the #include changes. Need to fix this at the #include site for now, and 2011-07-18 14:34:33 +00:00
device Fix warning for pvcreate over MD linear. 2011-07-08 15:53:59 +00:00
display Fix some compile warnings on RHEL5 2011-03-01 20:17:56 +00:00
error Add lv_activate_opts structure 2011-06-17 14:14:19 +00:00
filters Add and use dev_open_readonly and variations. 2011-05-24 13:36:57 +00:00
format1 Defer writing PV labels to vg_write. 2011-06-01 19:29:31 +00:00
format_pool Use new dev_open_readonly fn to prevent opening devices for read-write when not necessary. 2011-05-28 09:48:14 +00:00
format_text Code move of vg_mark_partial() up in stack 2011-06-17 14:39:10 +00:00
freeseg Replace malloc with zalloc when creating segment_type's 2011-03-25 21:59:42 +00:00
label Report sector containing label in verbose message. 2011-06-01 15:30:36 +00:00
locking Major pvmove fix to issue ioctls in the correct order when multiple LVs 2011-06-11 00:03:06 +00:00
log pre-release clean-ups 2011-04-29 00:21:13 +00:00
metadata Remove and unneeded parameter from build_parallel_areas_from_lv() 2011-07-19 16:37:42 +00:00
mirror Use lv_activate_opts struct instead of ACTIVATE_EXCL status flag. 2011-06-17 14:17:16 +00:00
misc Add framework for validation of ioctls. Doesn't do any checks yet. 2011-07-01 14:09:19 +00:00
mm Maintain a count of the number of suspended devices in libdevmapper 2011-06-13 03:32:45 +00:00
replicator Add lv_activate_opts structure 2011-06-17 14:14:19 +00:00
report This patchset refactors some reporting code and completes the remaining 2011-04-12 12:24:29 +00:00
snapshot Use lv_activate_opts struct instead of ACTIVATE_EXCL status flag 2011-06-17 14:22:48 +00:00
striped Add lv_activate_opts structure 2011-06-17 14:14:19 +00:00
unknown Slightly refactor the config code to allow better reuse (no functional change). 2011-07-18 13:26:08 +00:00
uuid Revert the #include changes. Need to fix this at the #include site for now, and 2011-07-18 14:34:33 +00:00
zero Add lv_activate_opts structure 2011-06-17 14:14:19 +00:00
Makefile.in Refactor the percent (mirror sync, snapshot usage) handling code to use 2010-11-30 11:53:31 +00:00