1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Peter Rajnoha 9a96f930a7 configure: run directory configuration cleanup
There were several hard-coded values for run directory around the code.
Also, some tools are DM specific only, others are LVM specific and there
was no distinction made here before. With this patch applied, we have
this cleaned up a bit (subsystem in brackets, defaults in parentheses):

          [common] configurable PID_DIR     (/var/run)

 lvm      [lvm]    configurable RUN_DIR     (/var/run/lvm)
                   configurable locking dir (/var/lock/lvm)

 clvmd    [lvm]    configurable pid file    (PID_DIR/clvmd.pid)
                   socket                   (RUN_DIR/clvmd.sock)

 lvmetad  [lvm]    configurable pid file    (PID_DIR/lvmetad.pid)
                   socket                   (RUN_DIR/lvmetad.socket)

 dm       [dm]     configurable DM_RUN_DIR  (/var/run)

 cmirrord [dm]     configurable pid file    (PID_DIR/cmirrord.pid)

 dmeventd [dm]     configurable pid file    (PID_DIR/dmeventd.pid)
                   server fifo              (DM_RUN_DIR/dmeventd-server)
                   client fifo              (DM_RUN_DIR/dmeventd-client)

The changes briefly:
  - added configure --with-default-pid-dir
  - added configure --with-default-dm-run-dir
  - added configure --with-lvmetad-pidfile
  - by default, using one common pid directory for everything
    (only lvmetad was not following this before)
2012-06-27 12:11:47 +02:00
..
activate Sync filesystem for thin snapshots 2012-06-15 14:43:07 +02:00
cache lvmetad: check for fid existance 2012-06-22 13:50:21 +02:00
commands cleanup: replace memset with struct initilization 2012-06-22 13:23:03 +02:00
config Improve thin_check option passing 2012-03-14 17:12:05 +00:00
datastruct Switch to return void 2012-02-08 12:52:58 +00:00
device dev-io: open device read-only to obtain readahead value 2012-06-25 11:55:37 +02:00
display Never try to test character past given buffer 2012-02-13 14:23:40 +00:00
error Add lv_activate_opts structure 2011-06-17 14:14:19 +00:00
filters Support improperly formated device numbers 2012-03-20 10:47:02 +00:00
format1 cleanup: replace memset with struct initilization 2012-06-22 13:23:03 +02:00
format_pool Pass 'single_device' parameter down to suppress 'Can't find uuid' messages 2012-02-29 02:35:35 +00:00
format_text cleanup: replace memset with struct initilization 2012-06-22 13:23:03 +02:00
freeseg Replace malloc with zalloc when creating segment_type's 2011-03-25 21:59:42 +00:00
label The lvmetad client-side integration. Only active when use_lvmetad = 1 is set in 2012-02-23 13:11:07 +00:00
locking cleanup: replace memset with struct initilization 2012-06-22 13:23:03 +02:00
log Minor fixes 2012-03-28 11:11:25 +00:00
metadata cleanup: replace memset with struct initilization 2012-06-22 13:23:03 +02:00
mirror Use same signed numbers 2012-02-23 22:30:20 +00:00
misc configure: run directory configuration cleanup 2012-06-27 12:11:47 +02:00
mm fix: limit preallocate stack size 2012-06-22 13:48:04 +02:00
raid Revert free of allocated segtype 2012-02-28 14:23:41 +00:00
replicator Revert free of allocated segtype 2012-02-28 14:23:41 +00:00
report Use unsigned type for bitmask 2012-02-27 11:45:05 +00:00
snapshot Differentiate between snapshot status of "Invalid" and "Merge failed". 2012-01-20 22:02:04 +00:00
striped Add activation/use_linear_target enabled by default. (prajnoha) 2011-11-28 20:37:51 +00:00
thin Fix regression in thin monitoring 2012-03-20 17:42:19 +00:00
unknown Fix log_error() usage 2011-09-24 21:19:30 +00:00
uuid Revert the #include changes. Need to fix this at the #include site for now, and 2011-07-18 14:34:33 +00:00
zero Add lv_activate_opts structure 2011-06-17 14:14:19 +00:00
Makefile.in Reflect new file locations, include file updates etc. 2012-02-28 18:35:04 +00:00