1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00
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
..
2014-07-11 13:32:21 +02:00
2014-07-22 22:48:21 +02:00
2014-08-19 14:33:07 +02:00
2014-09-28 13:49:01 +02:00
2014-09-28 13:49:01 +02:00
2008-01-30 14:00:02 +00:00
2008-01-30 14:00:02 +00:00
2014-09-15 21:33:53 +01:00
2014-09-28 13:49:01 +02:00
2014-06-17 13:42:45 +02:00
2014-01-30 13:09:15 +00:00
2014-09-28 13:49:01 +02:00
2013-07-01 23:11:14 +02:00
2014-09-24 10:54:48 +02:00
2014-03-30 23:44:59 +02:00
2014-07-03 19:06:04 +01:00
2014-03-21 22:29:21 +01:00