[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170502141806.h2mkezveq5fztiju@thunk.org>
Date: Tue, 2 May 2017 10:18:06 -0400
From: Theodore Ts'o <tytso@....edu>
To: Jan Kara <jack@...e.cz>
Cc: Ext4 Developers List <linux-ext4@...r.kernel.org>
Subject: Re: [PATCH -v2] ext4: avoid unnecessary transaction stalls during
writeback
On Tue, May 02, 2017 at 02:10:44PM +0200, Jan Kara wrote:
>
> Yeah, thanks for finding the problem and fixing it up! The updated patch
> looks good. It is actually relatively easy to fix the original approach so
> that we don't have to allocate ioend unnecessarily (we just fetch the inode
> pointer on error through bio_vec->bv_page->mapping->host) but I'll do that
> separately on top of this change.
We'll need to be a little bit careful to make sure this works for the
encryption case (where we use a temporary scratch/bounce buffer), but
it should be possible to make that work (we just have to look at the
right struct page).
- Ted
Powered by blists - more mailing lists