1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib
Peter Rajnoha d20ce59b80 Add random suffix to archive file names to prevent races when being created.
In certain configurations, we're not under a VG rw lock while trying to write
a new archive file with VG metadata. A common example is using "vgs" while
having the content of backup and archive directories empty. The code scans the
content of these directories and tries to determine the final index that should
be used in archive name. Since we're not under a lock, we can get into a race
while choosing the index which could end up showing errors about not being able
to rename to final archive name. Let's add random number suffix to these archive
file names so we can avoid the race.
2010-09-09 13:13:12 +00:00
..
activate This patch fixes a potential for I/O to hang and LVM commands 2010-08-26 14:21:50 +00:00
cache Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
commands Reinitialize archive and backup handling on toolcontext refresh. 2010-09-09 13:07:13 +00:00
config Switch to using configure --with-default-data-alignment=<NUM> to 2010-08-20 22:24:58 +00:00
datastruct Remove unnecessary / duplicate dm_list macros and functions. 2009-11-25 20:44:07 +00:00
device Detect LUKS signature in pvcreate 2010-08-19 23:08:18 +00:00
display Allow internal suspend and resume of origin without its snapshots. 2010-08-17 16:25:32 +00:00
error Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
filters Recognise and give preference to md device partitions (blkext major). 2010-08-11 12:14:23 +00:00
format1 Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
format_pool Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
format_text Add random suffix to archive file names to prevent races when being created. 2010-09-09 13:13:12 +00:00
freeseg Fix reporting of LV fields alongside unallocated PV segments. 2008-06-25 16:52:27 +00:00
label Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
locking Use 'SINGLENODE' instead of 'dead' in clvmd singlenode messages. 2010-08-17 19:25:05 +00:00
log Various cleanups following recent commits. 2010-06-21 15:56:57 +00:00
metadata Fix return type qualifier to avoid compiler warning. 2010-08-26 12:08:19 +00:00
mirror Allow internal suspend and resume of origin without its snapshots. 2010-08-17 16:25:32 +00:00
misc autoreconf also updates configure.h.in 2010-08-21 00:16:37 +00:00
mm Fix format string from patch apply mistake 2010-07-08 14:47:46 +00:00
replicator Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
report Define GET_NUM_PROPERTY_FN macro to simplify numeric property 'get' functions. 2010-08-20 13:02:39 +00:00
snapshot Monitor origin -real device below snapshot instead of overlay device. (brassow) 2010-08-17 01:16:41 +00:00
striped Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
unknown Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
uuid Use log_error macro consistently throughout in place of log_err. 2009-07-15 20:02:46 +00:00
zero Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
Makefile.in Add properties.[ch] to lib/report, defined based on columns.h. 2010-08-20 12:44:47 +00:00