1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 11:55:55 +03:00
lvm2/lib/format_text
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
..
archive.c Add random suffix to archive file names to prevent races when being created. 2010-09-09 13:13:12 +00:00
archiver.c Reinitialize archive and backup handling on toolcontext refresh. 2010-09-09 13:07:13 +00:00
archiver.h Fix remote metadata backup for clvmd 2009-04-22 09:39:45 +00:00
export.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
flags.c Replicator: base lvm2 support 2010-05-21 12:36:30 +00:00
format-text.c Fix previous const removal. 2010-08-26 12:22:05 +00:00
format-text.h Add --metadataignore to pvcreate. 2010-06-30 12:17:24 +00:00
import_vsn1.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
import-export.h Suppress repeated errors about the same missing PV uuids. 2010-03-17 02:11:18 +00:00
import.c Use void parameter for function definition. 2010-08-03 13:06:35 +00:00
layout.h more metadataignore message/code cleanup 2010-06-30 17:13:05 +00:00
tags.c Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
text_export.h Export function out_text_with_comment() and add outfc() macro that checks 2010-01-07 14:45:28 +00:00
text_import.h Update a few more uint64_t's related to the 64-bit status change. 2009-12-04 17:48:32 +00:00
text_label.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00