1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 18:55:19 +03:00
lvm2/liblvm
Peter Rajnoha 00d8ab8492 refactor: make it possible to select what to check exactly when calling device_is_usable fn
Currently, there are 5 things that device_is_usable function checks
(for DM devices only, of course):
  - is device empty?
  - is device blocked? (mirror)
  - is device suspended?
  - is device composed of an error target?
  - is device name/uuid reserved?

If answer to any of these questions is "yes", then the device is not usable.
This patch just adds possibility to choose what to check for exactly - the
device_is_usable function now accepts struct dev_usable_check_params make
this selection possible. This is going to be used by subsequent patches.
2014-09-30 13:11:58 +02:00
..
.exported_symbols Generate liblvm2app and libdevmapper exported symbols from header files. 2010-06-25 18:17:38 +00:00
Doxyfile Add Doxygen file for lvm2app to generate documentation from lvm2app.h. 2010-02-24 18:16:54 +00:00
liblvm2app.pc.in configure: add --enable-blkid_wiping 2013-11-27 15:48:16 +01:00
lvm2app.h report: select: refactor: move percent handling code to libdm for reuse 2014-06-17 16:27:21 +02:00
lvm_base.c refactor: make it possible to select what to check exactly when calling device_is_usable fn 2014-09-30 13:11:58 +02:00
lvm_lv.c cleanup: Use lv_is_ macros. 2014-09-15 21:33:53 +01:00
lvm_misc.c report: select: refactor: move str_list to libdm 2014-06-17 16:27:20 +02:00
lvm_misc.h liblvm: Save off and restore umask values 2013-12-20 13:36:22 -06:00
lvm_prop_fields.h lvm2app: Add ability to create PV with args 2013-11-19 14:40:34 -06:00
lvm_prop.c report: select: refactor: move str_list to libdm 2014-06-17 16:27:20 +02:00
lvm_prop.h lvm2app: Add ability to create PV with args 2013-11-19 14:40:34 -06:00
lvm_pv.c liblvm: mark constant as unsigned 2014-01-08 12:04:41 +01:00
lvm_vg.c liblvm: Save off and restore umask values 2013-12-20 13:36:22 -06:00
Makefile.in lvm2app: Add thin and thin pool lv creation 2013-07-12 16:52:16 -05:00