All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Wilcox <willy@infradead.org>
To: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>,
	Benjamin LaHaise <bcrl@kvack.org>,
	Christian Brauner <brauner@kernel.org>, Jan Kara <jack@suse.cz>,
	linux-kernel@vger.kernel.org, linux-aio@kvack.org,
	linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH 1/3] fs: aio: use a folio in aio_setup_ring()
Date: Thu, 21 Mar 2024 12:23:41 +0000	[thread overview]
Message-ID: <ZfwmzeRk3ysl6TtV@casper.infradead.org> (raw)
In-Reply-To: <20240321082733.614329-2-wangkefeng.wang@huawei.com>

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.


  parent reply	other threads:[~2024-03-21 12:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-21  8:27 [PATCH 0/3] fs: aio: more folio conversion Kefeng Wang
2024-03-21  8:27 ` [PATCH 1/3] fs: aio: use a folio in aio_setup_ring() Kefeng Wang
2024-03-21  9:07   ` Kefeng Wang
2024-03-21 12:23   ` Matthew Wilcox [this message]
2024-03-21  8:27 ` [PATCH 2/3] fs: aio: use a folio in aio_free_ring() Kefeng Wang
2024-03-21  8:27 ` [PATCH 3/3] fs: aio: convert to ring_folios and internal_folios Kefeng Wang
2024-03-21 12:26 ` [PATCH 0/3] fs: aio: more folio conversion Matthew Wilcox
2024-03-21 13:31   ` Kefeng Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZfwmzeRk3ysl6TtV@casper.infradead.org \
    --to=willy@infradead.org \
    --cc=bcrl@kvack.org \
    --cc=brauner@kernel.org \
    --cc=jack@suse.cz \
    --cc=linux-aio@kvack.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=viro@zeniv.linux.org.uk \
    --cc=wangkefeng.wang@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.