[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZfwmzeRk3ysl6TtV@casper.infradead.org>
Date: Thu, 21 Mar 2024 12:23:41 +0000
From: Matthew Wilcox <willy@...radead.org>
To: Kefeng Wang <wangkefeng.wang@...wei.com>
Cc: Alexander Viro <viro@...iv.linux.org.uk>,
Benjamin LaHaise <bcrl@...ck.org>,
Christian Brauner <brauner@...nel.org>, Jan Kara <jack@...e.cz>,
linux-kernel@...r.kernel.org, linux-aio@...ck.org,
linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH 1/3] fs: aio: use a folio in aio_setup_ring()
On Thu, Mar 21, 2024 at 04:27:31PM +0800, Kefeng Wang wrote:
> + pr_debug("pid(%d) [%d] folio->count=%d\n", current->pid, i,
> + folio_ref_count(folio));
> + folio_mark_uptodate(folio);
> + folio_unlock(folio);
You can use folio_end_read() here.
Powered by blists - more mailing lists