diff options
author | NeilBrown <neilb@suse.de> | 2012-10-04 16:34:20 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-10-04 16:34:20 +1000 |
commit | 387fcd593c7a257618fa11ed4cf57d655ace4ada (patch) | |
tree | b5e6a792a4d2af72f1cebad4a92c3e6a58bd5ade /mdadm.h | |
parent | 822e393a050510b0002bdfb1b0554fa8d7860a99 (diff) |
Add data_offset arg to ->avail_size
This is currently only useful for 1.x metadata and will allow an
explicit --data-offset request on command line.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -750,7 +750,8 @@ extern struct superswitch { int (*load_super)(struct supertype *st, int fd, char *devname); int (*load_container)(struct supertype *st, int fd, char *devname); struct supertype * (*match_metadata_desc)(char *arg); - __u64 (*avail_size)(struct supertype *st, __u64 size); + __u64 (*avail_size)(struct supertype *st, __u64 size, + unsigned long long data_offset); unsigned long long (*min_acceptable_spare_size)(struct supertype *st); int (*add_internal_bitmap)(struct supertype *st, int *chunkp, int delay, int write_behind, |