Re: [PATCH v2] raid5: set write hint for PPL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 7, 2019 at 6:52 PM Guoqing Jiang <gqjiang@xxxxxxxx> wrote:
>
>
>
> 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

Thanks Guoqing!

Song



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux