On 5/22/22 12:17 AM, Christoph Hellwig wrote: > On Fri, May 20, 2022 at 11:36:32AM -0700, Stefan Roesch wrote: >> From: Jan Kara <jack@xxxxxxx> >> >> If balance_dirty_pages() gets called for async buffered write, we don't >> want to wait. Instead we need to indicate to the caller that throttling >> is needed so that it can stop writing and offload the rest of the write >> to a context that can block. > > I don't tink this really makes sense without the next patch, so I'd > suggest to merge the two. I merged the two patches.