On 3/8/19 2:26 AM, Song Liu wrote:
On Mar 6, 2019, at 11:46 PM, Dabrowski, Mariusz <mariusz.dabrowski@xxxxxxxxx> wrote:
On 2/18/19 3:04 PM, Mariusz Dabrowski wrote:
When the Partial Parity Log is enabled, circular buffer is used to store
PPL data. Each write to RAID device causes overwrite of data in this buffer
so some write_hint can be set to those request to help drives handle
garbage collection. This patch adds new sysfs attribute which can be used
to specify which write_hint should be assigned to PPL.
Signed-off-by: Mariusz Dabrowski <mariusz.dabrowski@xxxxxxxxx>
---
v2: moved ppl_write_hint releated stuff from raid5.c to raid5-ppl.c
Documentation/admin-guide/md.rst | 3 ++
drivers/md/raid5-log.h | 1 +
drivers/md/raid5-ppl.c | 63 ++++++++++++++++++++++++++++++++++++++++
drivers/md/raid5.c | 1 +
4 files changed, 68 insertions(+)
Acked-by: Guoqing Jiang <gqjiang@xxxxxxxx>
Thanks,
Guoqing