On Wed, Apr 28, 2021 at 3:00 AM Demi Marie Obenour
wrote:
>
> When it comes to file-based block devices, the major difficulty is
> the extremely bad kernel API. The only fully safe way to use loop
> devices is to use LOOP_CONFIGURE with LO_FLAGS_AUTOCLEAR and hold a
> file descriptor open to the
When it comes to file-based block devices, the major difficulty is
the extremely bad kernel API. The only fully safe way to use loop
devices is to use LOOP_CONFIGURE with LO_FLAGS_AUTOCLEAR and hold a
file descriptor open to the device until another piece of code (either
another userspace program
This series in an attempt to speed up the domain start by removing slow block
script from the picture. The current RFC covers the simplest possible case only
- target being a block device directly. This case does not require locking at
all. Further version will cover also setting up a loop device.