raid5: set write hint for PPL
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. Acked-by: NGuoqing Jiang <gqjiang@suse.com> Signed-off-by: NMariusz Dabrowski <mariusz.dabrowski@intel.com> Signed-off-by: NSong Liu <songliubraving@fb.com>
Showing
想要评论请 注册 或 登录