Re: Writeback efficiency -- proposal
From: Michael Lyle <hidden>
Date: 2017-09-20 15:42:55
From: Michael Lyle <hidden>
Date: 2017-09-20 15:42:55
On Wed, Sep 20, 2017 at 7:06 AM, Kent Overstreet [off-list ref] wrote:
The main thing to be careful about is anything you do that increases scanning for dirty data has the potential to cause problems by starving foreground writes via the writeback lock. If you or others are going to be working on this code, trying to improve that locking would probably be very worthwhile...
Kent-- This is a very good point. Hopefully the approach I've got where at most the work is doubled (and happens less frequently) isn't too bad on this scale. I will look at making that locking more granular, too, though. :D Thanks, Mike