Alasdair Kergon
984929a001
Missing VG lock when iterating through all LVs.
2002-04-15 16:27:39 +00:00
Patrick Caulfield
7f9e2c1db8
More memory leak plugging.
2002-04-15 13:24:14 +00:00
Joe Thornber
324e8389dc
o Drop the default chunk size for snapshots down to 16k.
2002-04-15 08:41:00 +00:00
Alasdair Kergon
6f448c5a38
Implement a no_locking module that *does* attempt activation.
2002-04-11 14:10:32 +00:00
Patrick Caulfield
ec43efbb20
Rename device node during a DM_RENAME command.
2002-04-11 12:45:18 +00:00
Patrick Caulfield
3ed065de37
Return status from _lv_activate and friends.
...
Alasdair, I think this is right (and I need it) but you may like to check.
2002-04-11 09:14:04 +00:00
Patrick Caulfield
8152f0d72c
Remove \n from log messages.
2002-04-10 15:49:47 +00:00
Joe Thornber
f8047f4736
o Perform a BLKFLSBUF ioctl whenever a block device is closed.
...
Patrick, can you see if this fixes your cluster syncing problem please ?
If so I'll make it so it only syncs if you have actually written to the
device.
2002-04-08 18:59:50 +00:00
Patrick Caulfield
b93c66dc2d
Implement an external locking interface.
2002-04-08 16:04:50 +00:00
Patrick Caulfield
ac877b3065
Fix prototype.
2002-04-08 13:35:09 +00:00
Alasdair Kergon
dee8abfdde
Fix lv_setup() not to generate a new lvid each time if asked to setup the
...
same LV more than once - subsequent times validate only.
2002-04-05 14:32:22 +00:00
Patrick Caulfield
cef3841d73
Make lock type numbers match the DLM numbers in use, and move UNLOCK out
...
of the way.
2002-04-04 13:31:21 +00:00
Alasdair Kergon
3cd5e8a041
Rename LCK_NONE to LCK_UNLOCK
2002-04-04 11:18:45 +00:00
Alasdair Kergon
515b5f866e
Tidying.
2002-04-03 12:17:55 +00:00
Alasdair Kergon
321f62bf92
Cope with creation of additional snapshots while active.
...
(More work on suspension dependencies still needed.)
2002-03-27 18:17:43 +00:00
Alasdair Kergon
f94fa47b52
Snapshots are now attached to their origin device for locking purposes
...
so lock the origin instead of the snapshot itself when creating one.
2002-03-26 15:01:57 +00:00
Alasdair Kergon
c502f8a722
New-style persistent minor support.
2002-03-26 13:41:37 +00:00
Alasdair Kergon
59b4868ac3
o read-only device support
...
o name/uuid disambiguation
2002-03-25 18:54:59 +00:00
Alasdair Kergon
3634e12cce
Fix typo.
2002-03-25 18:50:37 +00:00
Andres Salomon
6d45445391
all people to actually uninstall lvm2 (*grin*)
2002-03-23 08:23:15 +00:00
Alasdair Kergon
4f47e268cc
Improve log messages.
2002-03-20 14:34:15 +00:00
Alasdair Kergon
0035b31cdb
Better support for LVs with hyphens in names.
2002-03-19 16:41:44 +00:00
Alasdair Kergon
f2565aee03
Support device queries by uuid as well as by name. (Used by lvrename.)
2002-03-18 23:39:42 +00:00
Alasdair Kergon
5bd85668dd
lvrename works on snapshots now
2002-03-18 23:25:50 +00:00
Alasdair Kergon
20f990b6ce
Tie all snapshot (de)activation requests to (de)activation of origin device.
2002-03-18 13:09:27 +00:00
Alasdair Kergon
6821379586
s/Removing/Unloading/ in messages to reduce confusion
2002-03-15 23:01:59 +00:00
Alasdair Kergon
73b040eb49
Cut the number of device-mapper calls.
2002-03-15 22:59:12 +00:00
Alasdair Kergon
49aa4b2e1e
New function to enable suppression of messages to stdout/stderr.
2002-03-15 22:54:04 +00:00
Alasdair Kergon
972241c74c
Review locking: block signals instead of ignoring them and restore state
...
afterwards; avoid race condition with unlink; add LCK_HOLD to process_each_vg.
2002-03-15 16:07:38 +00:00
Alasdair Kergon
680750e3c2
Reduce the number of dm info calls.
2002-03-14 21:17:30 +00:00
Alasdair Kergon
5e7d4d9d15
distclean also to remove libdm-common.h
2002-03-14 16:56:02 +00:00
Alasdair Kergon
1e57e60613
Integrate suspend.
2002-03-14 15:36:07 +00:00
Alasdair Kergon
3ac7ce605a
Suppress verbose/debug messages from libdevmapper.
2002-03-14 13:39:33 +00:00
Joe Thornber
b720dea9f0
o dev_manager_suspend, untested.
2002-03-14 10:56:09 +00:00
Alasdair Kergon
c80722aefe
A missing free() found by Valgrind. ( http://developer.kde.org/~sewardj/ )
2002-03-13 23:19:20 +00:00
Alasdair Kergon
a84fa69f28
dmsetup display uuid
2002-03-13 16:19:17 +00:00
Alasdair Kergon
e33781e59f
Set LV uuid.
2002-03-13 15:11:29 +00:00
Joe Thornber
8824bc7ece
o Mention that vgscan needs to be run after changing the filter var.
2002-03-13 14:25:53 +00:00
Patrick Caulfield
c2e3b0e448
Fix _align so it works on 64-bit machines.
2002-03-12 15:27:51 +00:00
Alasdair Kergon
f61a38e85a
Let dmsetup store the uuid on device creation.
2002-03-11 22:44:36 +00:00
Alasdair Kergon
d23e948216
Move is_empty_dir to lvm-file
2002-03-11 22:23:24 +00:00
Joe Thornber
58bdaa31f0
o Actually check that the vg directory is empty rather than speculatively
...
rmdiring it. Work around for devfs bug.
2002-03-11 20:43:58 +00:00
Joe Thornber
b6491d88a6
o This should complete the dev_manager alg. Please could people now
...
report any activation oddities they see.
2002-03-11 20:36:04 +00:00
Alasdair Kergon
f6061ba62e
lv_info replaces lv_active etc.
2002-03-11 19:02:28 +00:00
Alasdair Kergon
427899ddce
o activate/reactivate merge
...
o unlocking macro
2002-03-11 15:08:39 +00:00
Joe Thornber
c4ab7d2dbd
o dm->active_list now filled in, ATM this is based on the layer name rather
...
than the uuid.
2002-03-11 11:27:48 +00:00
Joe Thornber
0fd2ba033f
o Comment out some new code that was preventing pjc activating
...
snapshots. This will go back in when the active_list is working.
2002-03-11 10:38:16 +00:00
Joe Thornber
ed38939a93
o knock out the offset for origin targets.
2002-03-08 10:45:01 +00:00
Joe Thornber
c7ee26ce5a
o Add active_list to dev_manager
...
o Origin layer is only added to snapshots if a snapshot is in the
active_list.
2002-03-08 10:41:48 +00:00
Andres Salomon
909b8cb303
heh, whoops. s/device-mapper/LVM2/g.
2002-03-08 02:39:08 +00:00