1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/device
David Teigland 6c67c7557c scan: use separate fd for bcache
Create a new dev->bcache_fd that the scanning code owns
and is in charge of opening/closing.  This prevents other
parts of lvm code (which do various open/close) from
interfering with the bcache fd.  A number of dev_open
and dev_close are removed from the reading path since
the read path now uses the bcache.

With that in place, open(O_EXCL) for pvcreate/pvremove
can then be fixed.  That wouldn't work previously because
of other open fds.
2018-04-20 11:22:46 -05:00
..
bcache.c scan: use bcache for label scan and vg read 2018-04-20 11:19:24 -05:00
bcache.h [device/bcache] add bcache_prefetch_bytes() and bcache_read_bytes() 2018-04-20 11:12:50 -05:00
dev-cache.c [io paths] Unpick agk's aio stuff 2018-04-20 11:03:58 -05:00
dev-cache.h [io paths] Unpick agk's aio stuff 2018-04-20 11:03:58 -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 scan: use separate fd for bcache 2018-04-20 11:22:46 -05:00
dev-luks.c [io paths] Unpick agk's aio stuff 2018-04-20 11:03:58 -05:00
dev-md.c [io paths] Unpick agk's aio stuff 2018-04-20 11:03:58 -05:00
dev-swap.c [io paths] Unpick agk's aio stuff 2018-04-20 11:03:58 -05:00
dev-type.c [io paths] Unpick agk's aio stuff 2018-04-20 11:03:58 -05:00
dev-type.h devices: Recognise Veritas Dynamic Multipathing 2017-01-10 22:23:23 +00:00
device-types.h devices: Recognise Veritas Dynamic Multipathing 2017-01-10 22:23:23 +00:00
device.h scan: use separate fd for bcache 2018-04-20 11:22:46 -05:00