]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - Documentation/admin-guide/kernel-parameters.txt
loop: add BLK_DEV_LOOP_MIN_COUNT=%i to allow distros 0 pre-allocated loop devices
authorKay Sievers <kay.sievers@vrfy.org>
Sun, 31 Jul 2011 20:08:04 +0000 (22:08 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Sun, 31 Jul 2011 20:08:04 +0000 (22:08 +0200)
commitd134b00b9acca3fb054d7c88a5f5d562ecbb42d1
treeccc63647ec8a551289f26866ec86091e44266bad
parent770fe30a46a12b6fb6b63fbe1737654d28e84844
loop: add BLK_DEV_LOOP_MIN_COUNT=%i to allow distros 0 pre-allocated loop devices

Instead of unconditionally creating a fixed number of dead loop
devices which need to be investigated by storage handling services,
even when they are never used, we allow distros start with 0
loop devices and have losetup(8) and similar switch to the dynamic
/dev/loop-control interface instead of searching /dev/loop%i for free
devices.

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Documentation/kernel-parameters.txt
drivers/block/Kconfig
drivers/block/loop.c