From: William Kucharski <william.kucharski@oracle.com>
To: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Cc: linux-fsdevel@vger.kernel.org, linux-mm <linux-mm@kvack.org>,
Andrew Morton <akpm@linux-foundation.org>,
Hugh Dickins <hughd@google.com>
Subject: Re: [PATCH 0/2] Use multi-index entries in the page cache
Date: Mon, 29 Jun 2020 21:16:58 -0600 [thread overview]
Message-ID: <975DE645-33A3-4207-A6B7-2E304B78727E@oracle.com> (raw)
In-Reply-To: <20200629152033.16175-1-willy@infradead.org>
Another nice cleanup.
For the series:
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
> On Jun 29, 2020, at 9:20 AM, Matthew Wilcox (Oracle) <willy@infradead.org> wrote:
>
> Following Hugh's advice at LSFMM 2019, I was trying to avoid doing this,
> but it turns out to be hard to support range writeback with the pagecache
> using multiple single entries. Of course, this isn't a problem for
> shmem because it doesn't have a real backing device (only swap), but
> real filesystems need to start writeback at arbitrary file offsets and
> have problems if we don't notice that the first (huge) page in the range
> is dirty.
>
> Hugh, I would love it if you could test this. It didn't introduce any new
> regressions to the xfstests, but shmem does exercise different paths and
> of course I don't have a clean xfstests run yet, so there could easily
> still be bugs.
>
> I'd like this to be included in mmotm, but it is less urgent than the
> previous patch series that I've sent. As far as risk, I think it only
> affects shmem/tmpfs.
>
> Matthew Wilcox (Oracle) (2):
> XArray: Add xas_split
> mm: Use multi-index entries in the page cache
>
> Documentation/core-api/xarray.rst | 16 ++--
> include/linux/xarray.h | 2 +
> lib/test_xarray.c | 41 ++++++++
> lib/xarray.c | 153 ++++++++++++++++++++++++++++--
> mm/filemap.c | 42 ++++----
> mm/huge_memory.c | 21 +++-
> mm/khugepaged.c | 12 ++-
> mm/shmem.c | 11 +--
> 8 files changed, 245 insertions(+), 53 deletions(-)
>
> --
> 2.27.0
>
>
next prev parent reply other threads:[~2020-06-30 3:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-29 15:20 [PATCH 0/2] Use multi-index entries in the page cache Matthew Wilcox (Oracle)
2020-06-29 15:20 ` [PATCH 1/2] XArray: Add xas_split Matthew Wilcox (Oracle)
2020-06-29 17:18 ` William Kucharski
2020-06-29 15:20 ` [PATCH 2/2] mm: Use multi-index entries in the page cache Matthew Wilcox (Oracle)
2020-06-30 3:16 ` William Kucharski [this message]
2020-07-04 20:20 ` [PATCH 0/2] " Hugh Dickins
2020-07-06 14:43 ` Matthew Wilcox
2020-07-06 18:50 ` Matthew Wilcox
2020-07-07 3:43 ` Hugh Dickins
2020-07-07 3:21 ` Hugh Dickins
2020-07-07 3:49 ` Matthew Wilcox
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=975DE645-33A3-4207-A6B7-2E304B78727E@oracle.com \
--to=william.kucharski@oracle.com \
--cc=akpm@linux-foundation.org \
--cc=hughd@google.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=willy@infradead.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).