[PATCH 0/2] delay initializing queue for request-based dm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

Currently for device-mapper devices, we initialize the mempool for requests 
and elevator at device creation time. But only request-based devices use the 
elevator and mempool. These patches change it to allocate the mempool and 
initialize the elevator only for request-based devices. This is done by 
allocating a queue at device creation time, but delaying the initialization of 
elevator and allocation of mempool till the first table load time, when the 
type of device would be known.

[PATCH 1/2] Allow delaying initialization of queue after allocation

[PATCH 2/2] Initialize mempool and elevator only for request-based dm devices

Another approach would be to free the mempool and detach elevator, if it would 
be a bio-based device. But it is better to avoid initialization itself.

Thanks
Nikanth

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux