Alasdair Kergon
5c9d70c955
Create a log header for replacement in-sync mirror log.
...
Use set_lv() and dev_set() to wipe sections of devices.
Add mirror_in_sync() flag to avoid unnecessary resync on activation.
2006-05-11 18:39:24 +00:00
Alasdair Kergon
898e6f8e41
Add mirror_library description to example.conf.
...
More compile-time cleanup.
2006-05-11 17:58:58 +00:00
Alasdair Kergon
8a2fc58645
Check for libsepol.
...
Add some cflow & scope support.
Separate out DEFS from CFLAGS.
Remove inlines and use unique function names.
2006-04-19 15:33:07 +00:00
Alasdair Kergon
349216a6b5
Fix open RO->RW promotions.
2005-11-23 16:07:40 +00:00
Alasdair Kergon
b7c18fecfd
Only keep devices open if known to belong to a locked VG now.
2005-10-27 17:44:55 +00:00
Alasdair Kergon
2262b32057
Use hash, bitset, malloc, pool from libdevmapper.
2005-10-16 23:03:59 +00:00
Alasdair Kergon
9b02bdbce0
Refuse to run pvcreate/pvremove on devices we can't open exclusively.
2005-10-03 21:10:41 +00:00
Alasdair Kergon
5e947dac48
Various allocation-related pvmove fixes.
2005-06-14 17:54:48 +00:00
Alasdair Kergon
60f13f01d2
Basic support for mirrors.
2005-06-01 16:51:55 +00:00
Alasdair Kergon
c708ec79b1
Fix loopfiles mem alloc.
2005-05-09 17:02:52 +00:00
Alasdair Kergon
abe198c0e8
Don't create backup and archive dirs till needed.
2005-05-03 17:31:56 +00:00
Alasdair Kergon
15db9fcfbf
Reinstate full PV size when removing from VG.
...
Support loopfiles for testing.
Complete the pv_segment support.
2005-05-03 17:28:23 +00:00
Alasdair Kergon
0c86ac44a9
fix unused o_direct label
2005-04-07 12:25:33 +00:00
Alasdair Kergon
864de9cee1
Allow offline extension of snapshot volumes.
...
NB Requires kernel patch that is not upstream.
2005-04-07 12:17:46 +00:00
Alasdair Kergon
1165258cda
Alignment tidying.
2005-04-06 13:47:41 +00:00
Alasdair Kergon
e5b836d2d6
Improve detection of external changes affecting internal cache.
2005-03-21 22:40:35 +00:00
Alasdair Kergon
162d85b97b
Add 'already in device cache' debug message.
2005-03-21 14:51:49 +00:00
Alasdair Kergon
b9565b406a
Cope with new devices appearing by rescanning /dev if a uuid can't be found.
2005-03-08 13:46:17 +00:00
Alasdair Kergon
aa70fe8b71
Suppress 'open failed' error messages during scanning.
2005-03-03 21:54:35 +00:00
Alasdair Kergon
165f49ba1d
Fix device reference counting on re-opens.
2004-12-21 20:23:16 +00:00
Alasdair Kergon
d46fd67fb6
Skip devices that are too small to be PVs.
2004-12-21 17:54:52 +00:00
Alasdair Kergon
9ec484617a
Cope with empty msdos partition tables.
2004-12-21 16:10:25 +00:00
Alasdair Kergon
5e94864311
Reopen RO file descriptor RW if necessary.
2004-12-12 21:47:14 +00:00
Alasdair Kergon
09a7dce6be
Additional device-handling debug messages.
...
Additional verbosity level -vvvv includes line numbers and backtraces.
Verbose messages now go to stderr not stdout.
Close any stray file descriptors before starting.
Refine partitionable checks for certain device types.
Allow devices/types to override built-ins.
2004-12-10 16:01:35 +00:00
Alasdair Kergon
39de4a2a56
Extend dev_open logging.
2004-12-09 16:56:51 +00:00
Alasdair Kergon
66f0408473
xlate compilation fix
2004-11-27 22:07:41 +00:00
Alasdair Kergon
bbdab3fc9e
Endian fix to signature detection.
2004-11-27 21:37:54 +00:00
Alasdair Kergon
57b8df3e45
fix partition table signature size
2004-11-26 14:40:34 +00:00
Alasdair Kergon
2e6051674b
Fix to partition table detection code.
2004-11-24 20:38:05 +00:00
Alasdair Kergon
bd46a496c7
pool debugging
2004-11-23 18:23:23 +00:00
Alasdair Kergon
985ef4617f
Detect partition table signature.
2004-11-23 11:44:04 +00:00
Alasdair Kergon
b2dd0bb1d0
Separate out md superblock detection code.
2004-11-18 20:02:21 +00:00
Alasdair Kergon
60bd717971
Use O_NOATIME on devices if available.
2004-09-14 22:23:23 +00:00
Alasdair Kergon
1c31f23f56
Add a const.
2004-08-11 13:15:35 +00:00
Alasdair Kergon
96185e9ca1
Use 64-bit file functions.
2004-04-16 18:43:29 +00:00
Alasdair Kergon
6606c3ae81
Update copyright notices.
2004-03-30 19:35:44 +00:00
Alasdair Kergon
08c419da66
Don't recurse symlinked dirs such as /dev/fd on 2.6.
2004-02-13 18:55:43 +00:00
Alasdair Kergon
82c86650e1
Define BLKGETSIZE64 on systems with out-of-date header files.
2004-01-27 20:53:57 +00:00
Alasdair Kergon
e19f549a11
Fix support for PVs on read only devices. [Still must set LVs read only]
2003-11-21 19:54:40 +00:00
Alasdair Kergon
ee8518bd9c
lvcreate should close the initialised snapshot device immediately.
2003-11-14 17:55:39 +00:00
Alasdair Kergon
27642fade0
Fix dev_zero() offset.
2003-11-13 23:55:03 +00:00
Alasdair Kergon
2dc95e1c41
Configuration-time O_DIRECT setting.
2003-11-06 17:14:06 +00:00
Alasdair Kergon
914c97239f
Another sync point - numerous fixes & clean ups.
2003-07-04 22:34:56 +00:00
Alasdair Kergon
4b7af6da11
Add comment
2003-04-30 15:21:10 +00:00
Alasdair Kergon
fe451a01e8
Try alternative syncs if BLKFLSBUF fails.
2003-04-28 16:20:39 +00:00
Alasdair Kergon
b896caa19b
Improve build robustness.
2003-04-15 13:24:42 +00:00
Alasdair Kergon
26e7f2e0c4
Tidy various pre-processing incl. making libdl optional.
2003-03-24 18:08:53 +00:00
Alasdair Kergon
4970ebfb92
o Additional device/filter-level debugging messages + duplicate alias fix
...
o 32/64-bit size_t fix (pjc)
2003-01-08 16:41:22 +00:00
Alasdair Kergon
4aae68792c
When there are device name aliases, choose the "nicest" to display.
2003-01-03 21:11:23 +00:00
Alasdair Kergon
8ef2b021ed
Default stripesize 64k & config file setting for it;
...
Clear many compiler warnings (i386) & associated bugs - hopefully without
introducing too many new bugs:-) (Same exercise required for other archs.)
Default compilation has optimisation - or else use ./configure --enable-debug
2002-12-19 23:25:55 +00:00