linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eric Biggers <ebiggers@kernel.org>
To: Theodore Ts'o <tytso@mit.edu>
Cc: Ext4 Developers List <linux-ext4@vger.kernel.org>
Subject: Re: [PATCH] ext4, jbd2: add an optimized bmap for the journal inode
Date: Tue, 7 Mar 2023 20:56:26 -0800	[thread overview]
Message-ID: <ZAgVej4bnMLfHKpf@sol.localdomain> (raw)
In-Reply-To: <20230308041615.2121699-1-tytso@mit.edu>

On Tue, Mar 07, 2023 at 11:16:15PM -0500, Theodore Ts'o wrote:
> The generic bmap() function exported by the VFS takes locks and does
> checks that are not necessary for the journal inode.  So allow the
> file system to set a journal-optimized bmap function in
> journal->j_bmap.
> 
> The also has the benefit of avoiding some false positives by DEPT.
> 
> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
> ---
>  fs/ext4/super.c      | 23 +++++++++++++++++++++++
>  fs/jbd2/journal.c    |  9 ++++++---
>  include/linux/jbd2.h |  8 ++++++++
>  3 files changed, 37 insertions(+), 3 deletions(-)
> 

Should this also be marked as a fix for the syzbot report
https://syzkaller.appspot.com/bug?id=e4aaa78795e490421c79f76ec3679006c8ff4cf0 ?

- Eric

      reply	other threads:[~2023-03-08  4:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-08  4:16 [PATCH] ext4, jbd2: add an optimized bmap for the journal inode Theodore Ts'o
2023-03-08  4:56 ` Eric Biggers [this message]

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=ZAgVej4bnMLfHKpf@sol.localdomain \
    --to=ebiggers@kernel.org \
    --cc=linux-ext4@vger.kernel.org \
    --cc=tytso@mit.edu \
    /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).