mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andreas Hindborg <a.hindborg@kernel.org>
To: Vitaly Wool <vitaly.wool@konsulko.se>, Jens Axboe <axboe@kernel.dk>
Cc: "Boqun Feng" <boqun@kernel.org>,
	"Miguel Ojeda" <ojeda@kernel.org>, "Gary Guo" <gary@garyguo.net>,
	"Björn 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 Özkan" <work@onurozkan.dev>,
	"Lorenzo Stoakes" <ljs@kernel.org>,
	"Liam R. Howlett" <liam@infradead.org>,
	linux-block@vger.kernel.org, rust-for-linux@vger.kernel.org,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org,
	"Igor Belousov" <igor.b@beldev.am>,
	"Vitaly Wool" <vitaly.wool@konsulko.se>
Subject: Re: [PATCH v3 2/3] block: rust: add `discard_granularity` option to `GenDiskBuilder`
Date: Fri, 04 Dec 2026 15:01:46 +0100	[thread overview]
Message-ID: <87qzfx5elx.fsf@t14s.mail-host-address-is-not-set> (raw)
In-Reply-To: <20261204114322.243697-1-vitaly.wool@konsulko.se>

"Vitaly Wool" <vitaly.wool@konsulko.se> writes:

> From: Igor Belousov <igor.b@beldev.am>
>
> Allow Rust block drivers to set the discard granularity of their disks.
> It defaults to the physical block size, which is too small for drivers
> that can only deallocate larger units: the block layer splits discards
> larger than the maximum discard size at multiples of the granularity,
> so with a granularity smaller than the driver's unit, a split can fall
> in the middle of a unit that neither part then covers in full.

This change is part of the dependencies for `rufs`[1][2], the Rust UFS
driver [3].

There might be other things you need in that tree.

Best regards,
Andreas Hindborg

[1] https://github.com/SamsungDS/rufs/commit/dbdc0839f0e7eb89a6a203703791a6146827fead
[2] https://github.com/SamsungDS/rufs/commits/rfc/rufs-dependencies
[3] https://lore.kernel.org/r/20260912-rufs-private-v1-1-716db733e655@samsung.com


      parent reply	other threads:[~2026-12-04 14:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <FHA1L3XkvQpys1jd3WBYnIx90PNsNAh2SZg5MiiQpj31c5Agu7964PMowq_wrj8ztMcjmpv5E2VYjsx_RK-XVA==@protonmail.internalid>
2026-12-04 11:43 ` Vitaly Wool
2026-12-04 13:57   ` Andreas Hindborg
2026-12-04 14:01   ` Andreas Hindborg [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=87qzfx5elx.fsf@t14s.mail-host-address-is-not-set \
    --to=a.hindborg@kernel.org \
    --cc=acourbot@nvidia.com \
    --cc=aliceryhl@google.com \
    --cc=axboe@kernel.dk \
    --cc=bjorn3_gh@protonmail.com \
    --cc=boqun@kernel.org \
    --cc=dakr@kernel.org \
    --cc=daniel.almeida@collabora.com \
    --cc=gary@garyguo.net \
    --cc=igor.b@beldev.am \
    --cc=liam@infradead.org \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=ljs@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

all inboxes | Powered by JetHome®