Linux block layer
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Andreas Hindborg <a.hindborg@kernel.org>
Cc: Vitaly Wool <vitaly.wool@konsulko.se>,
	Boqun Feng <boqun@kernel.org>, Miguel Ojeda <ojeda@kernel.org>,
	Gary Guo <gary@garyguo.net>,
	Bjorn Roy Baron <bjorn3_gh@protonmail.com>,
	Benno Lossin <lossin@kernel.org>,
	Alice Ryhl <aliceryhl@google.com>,
	Trevor Gross <tmgross@umich.edu>,
	Danilo Krummrich <dakr@kernel.org>,
	Daniel Almeida <daniel.almeida@collabora.com>,
	Tamir Duberstein <tamird@kernel.org>,
	Alexandre Courbot <acourbot@nvidia.com>,
	Onur Ozkan <work@onurozkan.dev>,
	linux-block@vger.kernel.org, rust-for-linux@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] rnull: do not zero past the backing page
Date: Fri, 4 Dec 2026 08:09:45 -0700	[thread overview]
Message-ID: <0987f045-f31c-4866-b044-8305c7fbbe74@kernel.dk> (raw)
In-Reply-To: <87o6b15ehc.fsf@t14s.mail-host-address-is-not-set>

On Fri, Dec 4, 2026 at 7:04?AM Andreas Hindborg <a.hindborg@kernel.org> wrote:
>
> "Vitaly Wool" <vitaly.wool@konsulko.se> writes:
>
> > When a read hits a backing page that was never written, rnull fills the
> > segment with zeroes up to the end of the segment's current page, which
> > is a page of the bio, not of the backing store. If the read does not
> > start at the beginning of the backing page, the zeroes run on into the
> > next backing page, which may hold data, and the read returns zeroes for
> > it. For instance, with 512 byte blocks, a direct read of 4K at sector 7
> > into a page aligned buffer, where only sector 8 was written, returns
> > zeroes for sector 8. Fix this.
> >
> > Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.se>
> > Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
>
> This patch is targeting a downstream tree.
>
> It does not bother me that you send these to list, but it might be
> confusing to others.

Honestly it is just noise, and I'd say the same for any other
out-of-tree driver/code. If it's not in the upstream kernel, it doesn't
belong on the list, so please don't send it there.

-- 
Jens Axboe


  reply	other threads:[~2026-12-04 15:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <sGTKQRb-QRAf07fuubXVdjrXgGYXvjpZnRp_7FPf0yGHtvNVjQR5zRxsJkKgLpwjzrtjENdsZdZHzylAZl2YBQ==@protonmail.internalid>
2026-12-04 10:44 ` [PATCH] rnull: do not zero past the backing page Vitaly Wool
2026-12-04 12:31   ` Philipp Stanner
2026-12-04 14:06     ` Andreas Hindborg
2026-12-04 14:04   ` Andreas Hindborg
2026-12-04 15:09     ` Jens Axboe [this message]
2026-12-04 15:03   ` Miguel Ojeda

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=0987f045-f31c-4866-b044-8305c7fbbe74@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=a.hindborg@kernel.org \
    --cc=acourbot@nvidia.com \
    --cc=aliceryhl@google.com \
    --cc=bjorn3_gh@protonmail.com \
    --cc=boqun@kernel.org \
    --cc=dakr@kernel.org \
    --cc=daniel.almeida@collabora.com \
    --cc=gary@garyguo.net \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lossin@kernel.org \
    --cc=ojeda@kernel.org \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=tamird@kernel.org \
    --cc=tmgross@umich.edu \
    --cc=vitaly.wool@konsulko.se \
    --cc=work@onurozkan.dev \
    /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