1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib/activate
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
..
activate.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
activate.h refactor: make it possible to select what to check exactly when calling device_is_usable fn 2014-09-30 13:11:58 +02:00
dev_manager.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
dev_manager.h cleanup: constify activation usage of lv pointer 2014-09-24 10:54:47 +02:00
fs.c cleanup: constify activation usage of lv pointer 2014-09-24 10:54:47 +02:00
fs.h cleanup: constify activation usage of lv pointer 2014-09-24 10:54:47 +02:00
targets.h Use UUIDs instead of names while processing event handlers. 2010-04-14 13:01:38 +00:00