public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
From: Damien Le Moal <damien.lemoal@opensource.wdc.com>
To: "Javier González" <javier@javigon.com>
Cc: "Keith Busch" <kbusch@kernel.org>,
	"James Bottomley" <James.Bottomley@hansenpartnership.com>,
	"Luis Chamberlain" <mcgrof@kernel.org>,
	"Dave Chinner" <david@fromorbit.com>,
	linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org,
	lsf-pc@lists.linux-foundation.org,
	"Matias Bjørling" <matias.bjorling@wdc.com>,
	"Damien Le Moal" <damien.lemoal@wdc.com>,
	"Bart Van Assche" <bvanassche@acm.org>,
	"Adam Manzanares" <a.manzanares@samsung.com>,
	"Keith Busch" <keith.busch@wdc.com>,
	"Johannes Thumshirn" <johannes.thumshirn@wdc.com>,
	"Naohiro Aota" <naohiro.aota@wdc.com>,
	"Pankaj Raghav" <pankydev8@gmail.com>,
	"Kanchan Joshi" <joshi.k@samsung.com>,
	"Nitesh Shetty" <nj.shetty@samsung.com>
Subject: Re: [LSF/MM/BPF BoF] BoF for Zoned Storage
Date: Fri, 11 Mar 2022 16:39:12 +0900	[thread overview]
Message-ID: <61c1b49c-cd34-614a-876a-29b796e4ff0d@opensource.wdc.com> (raw)
In-Reply-To: <20220311072101.k52rkmsnecolsoel@ArmHalley.localdomain>

On 3/11/22 16:21, Javier González wrote:
> On 08.03.2022 05:42, Damien Le Moal wrote:
>> On 3/8/22 00:15, Keith Busch wrote:
>>> On Mon, Mar 07, 2022 at 03:35:12PM +0100, Javier González wrote:
>>>> As I mentioned in the last reply to to Dave, the main concern for me
>>>> at the moment is supporting arbitrary zone sizes in the kernel. If we
>>>> can agree on a path towards that, we can definitely commit to focus on
>>>> ZoneFS and implement support for it on the different places we
>>>> maintain in user-space.
>>>
>>> FWIW, the block layer doesn't require pow2 chunk_sectors anymore, so it
>>> looks like that requirement for zone sizes can be relaxed, too.
>>
>> As long as:
>> 1) Userspace does not break (really not sure about that one...)
>> 2) No performance regression: the overhead of using multiplications &
>> divisions for sector to zone conversions must be acceptable for ZNS (it
>> will not matter for SMR HDDs)
> 
> Good. The emulation patches we sent should cover this.
> 
>> All in kernel users of zoned devices will need some patching (zonefs,
>> btrfs, f2fs). Some will not work anymore (e.g. f2fs) and others will
>> need different constraints (btrfs needs 64K aligned zones). Not all
>> zoned devices will be usable anymore, and I am not sure if this
>> degradation in the support provided is acceptable.
> 
> We will do the work for btrfs (already have a prototype) and for zonefs
> (we need to look into it). F2FS will use the emulation layer for now;
> only !PO2 devices will pay the price. We will add a knob in the block
> layer so that F2FS can force enable the emulation.

No. The FS has no business changing the device.


-- 
Damien Le Moal
Western Digital Research

  reply	other threads:[~2022-03-11  7:39 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-03  0:56 [LSF/MM/BPF BoF] BoF for Zoned Storage Luis Chamberlain
2022-03-03  1:03 ` Luis Chamberlain
2022-03-03  1:33 ` Bart Van Assche
2022-03-03  4:31   ` Matias Bjørling
2022-03-03  5:21     ` Adam Manzanares
2022-03-03  5:32 ` Javier González
2022-03-03  6:29   ` Javier González
2022-03-03  7:54     ` Pankaj Raghav
2022-03-03  9:49     ` Damien Le Moal
2022-03-03 14:55       ` Adam Manzanares
2022-03-03 15:22         ` Damien Le Moal
2022-03-03 17:10           ` Adam Manzanares
2022-03-03 19:51             ` Matias Bjørling
2022-03-03 20:18               ` Adam Manzanares
2022-03-03 21:08                 ` Javier González
2022-03-03 21:33                 ` Matias Bjørling
2022-03-04 20:12                   ` Luis Chamberlain
2022-03-06 23:54                     ` Damien Le Moal
2022-03-03 16:12     ` Himanshu Madhani
2022-03-03  7:21 ` Hannes Reinecke
2022-03-03  8:55   ` Damien Le Moal
2022-03-03  7:38 ` Kanchan Joshi
2022-03-03  8:43 ` Johannes Thumshirn
2022-03-03 18:20 ` Viacheslav Dubeyko
2022-03-04  0:10 ` Dave Chinner
2022-03-04 22:10   ` Luis Chamberlain
2022-03-04 22:42     ` Dave Chinner
2022-03-04 22:55       ` Luis Chamberlain
2022-03-05  7:33         ` Javier González
2022-03-07  7:12           ` Dave Chinner
2022-03-07 10:27             ` Matias Bjørling
2022-03-07 11:29               ` Javier González
2022-03-11  0:49             ` Luis Chamberlain
2022-03-11  6:07               ` Christoph Hellwig
2022-03-11 20:31                 ` Luis Chamberlain
2022-03-07 13:55           ` James Bottomley
2022-03-07 14:35             ` Javier González
2022-03-07 15:15               ` Keith Busch
2022-03-07 15:28                 ` Javier González
2022-03-07 20:42                 ` Damien Le Moal
2022-03-11  7:21                   ` Javier González
2022-03-11  7:39                     ` Damien Le Moal [this message]
2022-03-11  7:42                       ` Christoph Hellwig
2022-03-11  7:53                         ` Javier González
2022-03-11  8:46                           ` Christoph Hellwig
2022-03-11  8:59                             ` Javier González
2022-03-12  8:03                               ` Damien Le Moal
2022-03-07  0:07         ` Damien Le Moal
2022-03-06 23:56     ` Damien Le Moal
2022-03-07 15:44       ` Luis Chamberlain
2022-03-07 16:23         ` Johannes Thumshirn
2022-03-07 16:36           ` Luis Chamberlain
2022-03-15 18:08 ` [EXT] " Luca Porzio (lporzio)
2022-03-15 18:39   ` Bart Van Assche
2022-03-15 18:47     ` Bean Huo (beanhuo)
2022-03-15 18:49       ` Jens Axboe
2022-03-15 19:04         ` Bean Huo (beanhuo)
2022-03-15 19:16           ` Jens Axboe
2022-03-15 19:59           ` Bart Van Assche

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=61c1b49c-cd34-614a-876a-29b796e4ff0d@opensource.wdc.com \
    --to=damien.lemoal@opensource.wdc.com \
    --cc=James.Bottomley@hansenpartnership.com \
    --cc=a.manzanares@samsung.com \
    --cc=bvanassche@acm.org \
    --cc=damien.lemoal@wdc.com \
    --cc=david@fromorbit.com \
    --cc=javier@javigon.com \
    --cc=johannes.thumshirn@wdc.com \
    --cc=joshi.k@samsung.com \
    --cc=kbusch@kernel.org \
    --cc=keith.busch@wdc.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=lsf-pc@lists.linux-foundation.org \
    --cc=matias.bjorling@wdc.com \
    --cc=mcgrof@kernel.org \
    --cc=naohiro.aota@wdc.com \
    --cc=nj.shetty@samsung.com \
    --cc=pankydev8@gmail.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