1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-26 17:25:10 +03:00
lvm2/lib
наб 6a431eb242 devices: recognise rbd (ceph rados block device)
Description stolen from linux d/b/rbd.c L3:
  rbd.c -- Export ceph rados objects as a Linux block device

16 partitions seem to make sense according to L90:
  #define RBD_SINGLE_MAJOR_PART_SHIFT 4

Running *scan -vvvvvvdddddd yields
  #filters/filter-type.c:28            /dev/rbd1p5: Skipping: Unrecognised LVM device type 252
  #filters/filter-persistent.c:131           filter caching bad /dev/rbd1p5
right now, and adding
  types = ["rbd", 252]
to /e/l/lvm.conf (with the matching "252 rbd" in /p/devices) works as a
per-machine fix:
  rbd1               252:16   0      1T  1 disk
  |-rbd1p1           252:17   0    243M  1 part
  |-rbd1p2           252:18   0      1K  1 part
  `-rbd1p5           252:21   0 1023.8G  1 part
    `-dev01--vg-root 253:0    0 1023.8G  0 lvm
but rbd is supported by upstream so it'd be nice to have it work OOB
2021-12-13 13:32:06 -06:00
..
activate make: replace legacy use rindex with strrchr 2021-09-27 18:56:14 +02:00
cache devices: exclude md components when duplicate pvs are seen 2021-11-22 15:10:43 -06:00
cache_segtype gcc: remove invalid attribute 2021-09-13 12:34:41 +02:00
commands vgchange -aay: optimize device list using pvs_online files 2021-11-05 12:19:35 -05:00
config add hints interface to the pvs_online file information 2021-11-04 10:58:16 -05:00
datastruct cleanup: eliminate unused assign 2021-03-11 00:18:01 +01:00
device devices: recognise rbd (ceph rados block device) 2021-12-13 13:32:06 -06:00
display gcc-fanalyzer: helping understand answer is not null 2021-09-21 21:03:47 +02:00
error device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
filters filter-sysfs: support old kernels without sys/dev/block 2021-11-09 11:54:48 -06:00
format_text fix spelling of pruning 2021-11-19 12:02:35 -06:00
freeseg device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
integrity cleanup: no backtraces needed after log_error 2021-03-10 01:11:52 +01:00
label device_id: searched_devnames improvements 2021-11-16 14:29:17 -06:00
locking cleanup: use const char buffer 2021-10-18 19:17:27 +02:00
log print warning about unrecognized journal option value 2021-12-02 12:40:52 -06:00
lvmpolld device usage based on devices file 2021-02-23 16:43:32 -06:00
metadata rename pvscan_cache_single to expect_missing_vg_device in cmd 2021-11-04 11:08:38 -05:00
mirror lv_info: missing check for info.exists 2021-03-14 16:34:38 +01:00
misc utils: define macro for ffs 2021-09-27 18:56:14 +02:00
mm debug: change message level 2021-09-15 15:24:56 +02:00
notify build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
properties build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
raid cleanup: reduce code dupliction 2021-03-19 23:21:18 +01:00
report cov: remove unused variable setting 2021-09-13 12:34:41 +02:00
snapshot typo: fixes 2021-02-08 23:53:41 +01:00
striped device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
thin targets: use target_present_version 2021-02-08 23:43:38 +01:00
unknown device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
uuid build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
vdo vdo: just one probe is enough 2021-02-17 11:21:35 +01:00
writecache typo: fixes 2021-02-08 23:53:41 +01:00
zero device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
Makefile.in move code from pvscan.c to online.c 2021-11-04 11:09:29 -05:00