diff options
| author | Song Liu <songliubraving@fb.com> | 2016-11-17 15:24:36 -0800 |
|---|---|---|
| committer | Shaohua Li <shli@fb.com> | 2016-11-18 13:24:46 -0800 |
| commit | c757ec95c22036b1cb85c56ede368bf8f6c08658 (patch) | |
| tree | f4299c7fa030de0d85bc2d1b3ee42706a3e5215a /tools/perf/scripts/python | |
| parent | md: add blktrace event for writes to superblock (diff) | |
| download | linux-c757ec95c22036b1cb85c56ede368bf8f6c08658.tar.gz linux-c757ec95c22036b1cb85c56ede368bf8f6c08658.zip | |
md/r5cache: Check array size in r5l_init_log
Currently, r5l_write_stripe checks meta size for each stripe write,
which is not necessary.
With this patch, r5l_init_log checks maximal meta size of the array,
which is (r5l_meta_block + raid_disks x r5l_payload_data_parity).
If this is too big to fit in one page, r5l_init_log aborts.
With current meta data, r5l_log support raid_disks up to 203.
Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
