Linux-Fsdevel Archive on
 help / color / Atom feed
From: Christoph Hellwig <>
To: Matthew Wilcox <>
Cc: "Darrick J. Wong" <>,
	Dave Chinner <>,
	xfs <>,
	linux-fsdevel <>,,
Subject: Re: [PATCH v4] vfs: fix page locking deadlocks when deduping files
Date: Thu, 15 Aug 2019 23:47:53 -0700
Message-ID: <> (raw)
In-Reply-To: <>

On Thu, Aug 15, 2019 at 11:18:04AM -0700, Matthew Wilcox wrote:
> But I don't think read_mapping_page() can return a page which doesn't have
> PageUptodate set.  Follow the path down through read_cache_page() into
> do_read_cache_page().

read_mapping_page() can't, but I think we need the check after the 
lock_page still.

  reply index

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-15 16:49 Darrick J. Wong
2019-08-15 18:18 ` Matthew Wilcox
2019-08-16  6:47   ` Christoph Hellwig [this message]
2019-08-16 16:57     ` Matthew Wilcox
2019-08-16 16:13 ` [PATCH v5] " Darrick J. Wong

Reply instructions:

You may reply publically 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:

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

  git send-email \ \ \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-Fsdevel Archive on

Archives are clonable:
	git clone --mirror linux-fsdevel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-fsdevel linux-fsdevel/ \
	public-inbox-index linux-fsdevel

Newsgroup available over NNTP:

AGPL code for this site: git clone public-inbox