[PATCH 2/2] btrfs-progs: use udev to scan for devices (v2)

2014-11-11 Thread Karel Zak
Currently btrfs uses libblkid to scan for block devices with BTRFS. The disadvantage is that this method is expensive. The udevd maintains information about all block devices in udev db and all devices are probed by udevd (it's linked with libblkid). We don't have to duplicate this thing in btrfs.

[PATCH 2/2] btrfs-progs: use udev to scan for devices

2014-11-11 Thread Karel Zak
Currently btrfs uses libblkid to scan for block devices with BTRFS. The disadvantage is that this method is expensive. The udevd maintains information about all block devices in udev db and all devices are probed by udevd (it's linked with libblkid). We don't have to duplicate this thing in btrfs.