public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Damien Le Moal <dlemoal@kernel.org>
Cc: Jens Axboe <axboe@kernel.dk>,
	linux-block@vger.kernel.org, dm-devel@lists.linux.dev,
	Mike Snitzer <snitzer@kernel.org>,
	Mikulas Patocka <mpatocka@redhat.com>,
	linux-scsi@vger.kernel.org,
	"Martin K . Petersen" <martin.petersen@oracle.com>,
	Ming Lei <ming.lei@redhat.com>,
	"Michael S . Tsirkin" <mst@redhat.com>,
	Jason Wang <jasowang@redhat.com>, Christoph Hellwig <hch@lst.de>
Subject: Re: [PATCH v2 0/5] Remove zone reset all emulation
Date: Thu, 04 Jul 2024 23:30:18 -0400	[thread overview]
Message-ID: <yq1frsoa53d.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <20240704052816.623865-1-dlemoal@kernel.org> (Damien Le Moal's message of "Thu, 4 Jul 2024 14:28:11 +0900")


Damien,

> Here is a set of patches based on block/for-next to remove the
> emulation for zone reset all from the block layer and move it to
> device mapper. This is done because device mapper is the only zoned
> device driver that does not natively support REQ_OP_ZONE_RESET_ALL.
> With this change, the emulation that may be required depending on a
> mapped device zone mapping is moved to device mapper and the reset all
> feature (BLK_FEAT_ZONE_RESETALL) can be deleted, as well as all the
> code handling this feature in blk-zoned.c. The DM-based handling of
> REQ_OP_ZONE_RESET_ALL can also be much faster than the block layer
> emulation as that operation can be forwarded as is to targets mapping
> all sequential write required zones.

LGTM.

Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>

-- 
Martin K. Petersen	Oracle Linux Engineering

  parent reply	other threads:[~2024-07-05  3:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-04  5:28 [PATCH v2 0/5] Remove zone reset all emulation Damien Le Moal
2024-07-04  5:28 ` [PATCH v2 1/5] null_blk: Introduce the zone_full parameter Damien Le Moal
2024-07-04  5:28 ` [PATCH v2 2/5] dm: Refactor is_abnormal_io() Damien Le Moal
2024-07-04  5:28 ` [PATCH v2 3/5] dm: handle REQ_OP_ZONE_RESET_ALL Damien Le Moal
2024-07-04  5:28 ` [PATCH v2 4/5] block: Remove REQ_OP_ZONE_RESET_ALL emulation Damien Le Moal
2024-07-04  5:28 ` [PATCH v2 5/5] block: Remove blk_alloc_zone_bitmap() Damien Le Moal
2024-07-04  6:07 ` [PATCH v2 0/5] Remove zone reset all emulation Johannes Thumshirn
2024-07-05  3:30 ` Martin K. Petersen [this message]
2024-07-05  6:42 ` Jens Axboe

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=yq1frsoa53d.fsf@ca-mkp.ca.oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=axboe@kernel.dk \
    --cc=dlemoal@kernel.org \
    --cc=dm-devel@lists.linux.dev \
    --cc=hch@lst.de \
    --cc=jasowang@redhat.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=ming.lei@redhat.com \
    --cc=mpatocka@redhat.com \
    --cc=mst@redhat.com \
    --cc=snitzer@kernel.org \
    /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