From: "Theodore Y. Ts'o" <tytso@mit.edu>
To: Mauricio Faria de Oliveira <mfo@canonical.com>
Cc: Jan Kara <jack@suse.cz>, linux-ext4@vger.kernel.org
Subject: Re: [PATCH] ext4: Fix mmap write protection for data=journal mode
Date: Fri, 20 Nov 2020 13:10:30 -0500 [thread overview]
Message-ID: <20201120181030.GF609857@mit.edu> (raw)
In-Reply-To: <CAO9xwp3sSjzy9W8pMjV6vYitfZ9BmZE-9bLwcLg1uz3CFBHUcQ@mail.gmail.com>
Mauricio,
Thanks for your work in finding the corner cases for data=journal. If
you don't mind me asking, however --- what are the use cases for you
where data=journal is the preferred mode for ext4? There are a lot of
advanced features for data=journal mode which don't work. This
includes things like dioread_nolock (now the default), delayed
allocation, and other optimizations.
It used to be that data=journal pretty nicely fell out of how ext4
worked in "normally". These days, data=journal is becoming more and
more an exception case that requires special handling. And to be
honest, every so often there has been discussion about whether the
maintenance overhead of data=journal has been worth keeping it. So
far, we just don't bother making data=journal work with things like
delayed allocation, and one of ther reasons why we've kept it around
is because it's a unique mode that none of the Linux file systems
have.
It would be useful, though, to understand what are the use cases where
you (or your customers) are finding data=journal useful, so we can
better optimize for their use case. And if there are enough people
who care about it --- and clearly, you've invested so much effort that
you definitely fall into that category :-) --- then maybe there's a
business case for investing more into data=journal and trying to make
it something which is easier to maintain and can work with things like
delayed allocation.
Thanks,
- Ted
next prev parent reply other threads:[~2020-11-20 18:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-27 13:27 [PATCH] ext4: Fix mmap write protection for data=journal mode Jan Kara
2020-10-27 16:10 ` Mauricio Faria de Oliveira
2020-11-20 15:27 ` Mauricio Faria de Oliveira
2020-11-20 18:10 ` Theodore Y. Ts'o [this message]
2020-11-23 23:52 ` Mauricio Faria de Oliveira
2020-11-23 9:34 ` Jan Kara
2020-11-24 0:03 ` Mauricio Faria de Oliveira
2020-10-28 3:56 ` Theodore Y. Ts'o
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=20201120181030.GF609857@mit.edu \
--to=tytso@mit.edu \
--cc=jack@suse.cz \
--cc=linux-ext4@vger.kernel.org \
--cc=mfo@canonical.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 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).