1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00
lvm2/lib/metadata
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
..
2018-04-20 12:17:01 +02:00
2017-10-13 16:20:42 -05:00
2018-04-20 12:17:01 +02:00
2018-04-20 11:22:45 -05:00
2016-01-21 12:11:37 +01:00
2017-11-07 21:26:11 +01:00
2016-01-21 12:11:37 +01:00
2018-02-12 22:15:03 +01:00
2018-04-20 11:22:45 -05:00