diff options
author | NeilBrown <neilb@suse.de> | 2009-12-14 02:49:55 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-12-14 02:51:41 +0100 |
commit | 43a705076e51c5af21ec4260a35699775ea298f5 (patch) | |
tree | ff8e161d841c41992dbbcca2a844816411941c3c /kernel/freezer.c | |
parent | md: factor out parsing of fixed-point numbers (diff) | |
download | linux-43a705076e51c5af21ec4260a35699775ea298f5.tar.xz linux-43a705076e51c5af21ec4260a35699775ea298f5.zip |
md: support updating bitmap parameters via sysfs.
A new attribute directory 'bitmap' in 'md' is created which
contains files for configuring the bitmap.
'location' identifies where the bitmap is, either 'none',
or 'file' or 'sector offset from metadata'.
Writing 'location' can create or remove a bitmap.
Adding a 'file' bitmap this way is not yet supported.
'chunksize' and 'time_base' must be set before 'location'
can be set.
'chunksize' can be set before creating a bitmap, but is
currently always over-ridden by the bitmap superblock.
'time_base' and 'backlog' can be updated at any time.
Signed-off-by: NeilBrown <neilb@suse.de>
Reviewed-by: Andre Noll <maan@systemlinux.org>
Diffstat (limited to 'kernel/freezer.c')
0 files changed, 0 insertions, 0 deletions