Re: [PATCH v3 5/9] raid5-ppl: Partial Parity Log write logging implementation
From: Shaohua Li <shli@kernel.org>
Date: 2017-02-09 17:13:14
From: Shaohua Li <shli@kernel.org>
Date: 2017-02-09 17:13:14
On Thu, Feb 09, 2017 at 04:06:00PM +0000, Wols Lists wrote:
On 08/02/17 05:34, Shaohua Li wrote:quoted
so it's the implementation which doesn't flush disk cache before writting new data to disks, right? That makes sense then. I think we should fix this soon. Don't think people will (or remember to) disable write-back cache before using ppl.Dunno whether I'm making a fool of myself :-) but might a quick-n-dirty workaround be to make enabling PPL also disable write-back cache? With maybe a warning not to switch it back on?
We don't have API for this in kernel side. This doesn't mean we can't add it but since the limitation is in the implementation, we'd better fix the implementation. Thanks, Shaohua