diff options
author | Namhyung Kim <namhyung@gmail.com> | 2011-05-26 21:06:50 +0200 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2011-05-26 21:06:50 +0200 |
commit | 8892cbaf686fb18a5f0558b9fd7773b32c0c7852 (patch) | |
tree | d42261b88e9ead68894e226d8d9afc838fa7cfb1 /fs/sysv/ialloc.c | |
parent | 13868b76ab8135389fe1d8cf1c6a4847c9fef0a7 (diff) | |
download | linux-8892cbaf686fb18a5f0558b9fd7773b32c0c7852.tar.bz2 |
brd: export module parameters
Export 'rd_nr', 'rd_size' and 'max_part' parameters to sysfs so user can
know that how many devices are allowed, how big each device is and how
many partitions are supported. If 'max_part' is 0, it means simply the
device doesn't support partitioning.
Also note that 'max_part' can be adjusted to power of 2 minus 1 form if
needed. User should check this value after the module loading if he/she
want to use that number correctly (i.e. fdisk, mknod, etc.).
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Cc: Laurent Vivier <Laurent.Vivier@bull.net>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'fs/sysv/ialloc.c')
0 files changed, 0 insertions, 0 deletions