Alasdair Kergon
cee9a8d87e
some makefile fixes for liblvm2cmd & remove some hardcoded .so
2008-11-14 20:59:56 +00:00
Alasdair Kergon
77b69aa724
make install_device-mapper
2008-11-04 17:25:32 +00:00
Alasdair Kergon
56d8844068
more fixes
2008-11-04 15:07:45 +00:00
Alasdair Kergon
e50d0e97b1
more missing bits
2008-11-04 14:57:06 +00:00
Alasdair Kergon
2c44337bd5
Right, a simple build (without options) is working again.
2008-11-03 22:14:30 +00:00
Alasdair Kergon
28f60ff82f
add list fns
2008-11-03 20:03:00 +00:00
Alasdair Kergon
3e5b6ed214
more tweaking to get things to compile - dmlib.h for log fns, list.h
2008-11-03 18:59:59 +00:00
Alasdair Kergon
597c3f8e0f
Use simple x.y.z library version in libdevmapper.pc
2008-11-01 20:48:09 +00:00
Alasdair Kergon
0782ad5002
further progress
2008-11-01 02:19:19 +00:00
Alasdair Kergon
301fd74ecf
Add dm-logging.h ready for libdevmapper.
2008-10-30 17:54:12 +00:00
Alasdair Kergon
0b1bf1f56b
Split out dm-logging.h from log.h
2008-10-30 17:24:04 +00:00
Alasdair Kergon
10a9579a63
Add libdm subdir to begin merging the device-mapper tree.
2008-10-30 15:31:33 +00:00
Alasdair Kergon
3776c4941a
Fix last checkin - tested wrong dnode.
2008-09-18 22:55:33 +00:00
Alasdair Kergon
bb875bb9e4
Only resume devices in dm_tree_preload_children if size changes.
2008-09-18 18:34:53 +00:00
Alasdair Kergon
7d7d93ac6c
Extend deptree buffers so the largest possible device numbers fit.
2008-09-02 12:16:07 +00:00
Alasdair Kergon
b6943304c9
Underline longer report help text headings.
2008-06-25 19:52:52 +00:00
Alasdair Kergon
6e1898a5a2
pre-commit
2008-06-25 14:24:17 +00:00
Alasdair Kergon
9070816ebb
Align struct memblock in dbg_malloc for sparc.
2008-06-25 14:10:33 +00:00
Alasdair Kergon
aa882ea539
Cope with missing field values.
2008-06-25 00:10:36 +00:00
Alasdair Kergon
ca8d363d2c
Add --rows to dmsetup.
2008-06-24 22:53:48 +00:00
Alasdair Kergon
f1839ac87c
dmsetup --unquoted
2008-06-24 20:16:47 +00:00
Alasdair Kergon
afbf31eba9
Fix inverted no_flush debug message. (mpatocka)
2008-06-10 11:19:19 +00:00
Alasdair Kergon
2bd5b63f4a
rename some config vars
2008-06-06 20:44:35 +00:00
Alasdair Kergon
9df5c6e987
switch to single quotes rather than double for nameprefixes
2008-06-06 19:07:47 +00:00
Alasdair Kergon
12ea7cb133
Initialise params buffer to empty string in _emit_segment.
2008-06-05 19:10:35 +00:00
Alasdair Kergon
b947f34393
Skip add_dev_node when ioctls disabled.
...
Make dm_hash_iter safe against deletion.
Accept a NULL pointer to dm_free silently.
2008-05-21 16:14:46 +00:00
Alasdair Kergon
c791f186ce
Add field name prefix option to reporting functions.
2008-04-20 00:11:08 +00:00
Alasdair Kergon
f44e3ff46a
Calculate string size within dm_pool_grow_object.
2008-04-19 15:50:18 +00:00
Alasdair Kergon
0b2a795ece
make list_move consistent with other list fns
2008-04-10 19:14:27 +00:00
Dave Wysochanski
43aa463780
Add list_move() support function for list manipulation.
2008-03-26 16:20:54 +00:00
Alasdair Kergon
ad1fc08312
Use log_warn for reporting field help text instead of log_print.
2008-01-20 01:14:38 +00:00
Jonathan Earl Brassow
d6d4661517
- The automatic log module loading patch proposed for the upstream kernel
...
works on '-'s, not '_'s. This is due to the preference to have log
module file names that do not mix '_'s and '-'s.
2008-01-15 22:48:11 +00:00
Alasdair Kergon
fc795d8701
more readahead node fixes/debug messages
2007-12-14 19:49:27 +00:00
Alasdair Kergon
bafa2f39cf
Fix deptree to pass new name to _resume_node after a rename.
2007-12-14 17:57:04 +00:00
Alasdair Kergon
4a41a93a7a
Add node operation stack debug messages.
2007-12-14 17:26:09 +00:00
Alasdair Kergon
3a2234162d
Report error when empty device name passed to readahead functions.
2007-12-13 02:25:45 +00:00
Alasdair Kergon
de4ddace2e
Fix minimum readahead debug message.
2007-12-05 18:57:34 +00:00
Alasdair Kergon
a8524c3942
clarify when read_ahead may be set
2007-12-05 16:28:19 +00:00
Alasdair Kergon
9a22e746b5
work out device name to use for read ahead request
2007-12-05 16:24:41 +00:00
Alasdair Kergon
fec8f8382a
fix ioctls to use long not int
...
update dm-ioctl.h after compat tidy-up
2007-12-05 14:11:26 +00:00
Alasdair Kergon
0b7d16bc09
fixes
2007-12-03 22:48:36 +00:00
Alasdair Kergon
15d2547427
missing #include
2007-12-03 17:56:36 +00:00
Alasdair Kergon
1d4e9f245b
fix
2007-11-30 16:44:42 +00:00
Alasdair Kergon
e81af2f3fe
readahead support completed - untested
2007-11-30 16:42:26 +00:00
Alasdair Kergon
2d1eead2e8
read_ahead node ops
2007-11-30 14:59:57 +00:00
Alasdair Kergon
52b8440916
add read_ahead functions to library and dmsetup --readahead
...
(Not live yet.)
2007-11-27 20:57:05 +00:00
Alasdair Kergon
6dd60469ba
Add DM_READ_AHEAD_MINIMUM_FLAG
2007-11-12 20:47:18 +00:00
Alasdair Kergon
14772580cd
Define DM_READ_AHEAD_AUTO and DM_READ_AHEAD_NONE.
2007-11-09 16:52:36 +00:00
Jim Meyering
06b8fee542
Allow $DM_DEV_DIR envvar to override default of "/dev".
...
* dmsetup/dmsetup.c (DEV_PATH): Remove definition.
(parse_loop_device_name): Add parameter: dev_dir.
Declare the "dev" parameter to be "const".
Use dev_dir, not DEV_PATH. Handle the case in which dev_dir
does not end in a "/".
(_get_abspath): Declare "path" parameter "const", to match.
(_process_losetup_switches): Add parameter: dev_dir.
Pass dev_dir to parse_loop_device_name.
(_process_switches): Add parameter: dev_dir.
Pass dev_dir to _process_losetup_switches.
(main): Set dev_dir from the DM_DEV_DIR envvar, else to "/dev".
Call dm_set_dev_dir.
* lib/libdm-common.c (dm_set_dev_dir): Rewrite to be careful
about boundary conditions, now that dev_dir may be tainted.
* man/dmsetup.8: Mention $DM_DEV_DIR.
Author: Jim Meyering <meyering@redhat.com>
2007-10-09 12:14:48 +00:00
Jim Meyering
4ab5b20654
Arrange for "make clean" to remove the symlink, too.
...
* make.tmpl.in ($(VERSIONED_SHLIB)): Move rule to...
* lib/Makefile.in ($(VERSIONED_SHLIB)): ...here, removing the
$(interface)/ prefix.
Reported by Milan Broz.
Author: Jim Meyering <meyering@redhat.com>
2007-10-03 10:48:27 +00:00