1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-06 17:18:29 +03:00
lvm2/lib/device
David Teigland a30e622279 scan: work around udev problems by avoiding open RDWR
udev creates a train wreck of events if we open devices
with RDWR.  Until we can fix/disable/scrap udev, work around
this by opening RDONLY and then closing/reopening RDWR when
a write is needed.  This invalidates the bcache blocks for
the device before writing so it can trigger unnecessary
rereading.
2018-06-20 12:05:04 -05:00
..
bcache-utils.c bcache: knock out err param. 2018-05-10 13:26:08 +01:00
bcache.c bcache: remove extraneous error message 2018-06-18 11:59:57 -05:00
bcache.h bcache: Add sync io engine 2018-05-10 14:29:26 +01:00
dev-cache.c scan: removed failed paths for devices 2018-05-30 09:05:18 -05:00
dev-cache.h scan: removed failed paths for devices 2018-05-30 09:05:18 -05:00
dev-dasd.c doc: change fsf address 2016-01-21 12:11:37 +01:00
dev-ext-udev-constants.h dev-type: check for DEVLINKS udev db variable existence if udev_device_get_is_initialized fn is not present 2016-09-06 13:21:29 +02:00
dev-ext.c log: Improve various device-related messages 2017-11-13 19:45:33 +00:00
dev-io.c dev_cache: remove the lvmcache check when closing fd 2018-05-11 14:30:10 -05:00
dev-luks.c filter: use bcache for filter reads 2018-05-10 16:03:19 -05:00
dev-lvm1-pool.c devices: ignore lvm1 and pool devices 2018-05-01 15:18:47 -05:00
dev-md.c scan: ignore duplicates that are md component devs 2018-05-11 15:52:22 -05:00
dev-swap.c filter: use bcache for filter reads 2018-05-10 16:03:19 -05:00
dev-type.c devs: recognize md devices in subsystem check 2018-05-11 14:00:19 -05:00
dev-type.h filter: use bcache for filter reads 2018-05-10 16:03:19 -05:00
device-types.h devices: Recognise Veritas Dynamic Multipathing 2017-01-10 22:23:23 +00:00
device.h scan: work around udev problems by avoiding open RDWR 2018-06-20 12:05:04 -05:00