linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Damien Le Moal <damien.lemoal@wdc.com>
To: linux-scsi@vger.kernel.org,
	"Martin K . Petersen" <martin.petersen@oracle.com>
Subject: [PATCH 0/2] Cleanup sd_zbc zone checks.
Date: Fri, 20 Dec 2019 16:58:21 +0900	[thread overview]
Message-ID: <20191220075823.400072-1-damien.lemoal@wdc.com> (raw)

A couple of small patches to cleanup sd_zbc zone checks formerly
implemented in sd_zbc_check_zones() and now moved to the block layer as
generic code. The first patch removes a superfluous check present in the
block layer. The second patch renames sd_zbc_check_zones() to be clear
about the function role.

Damien Le Moal (2):
  scsi: sd_zbc: Simplify sd_zbc_check_zones()
  scsi: sd_zbc: Rename sd_zbc_check_zones()

 drivers/scsi/sd_zbc.c | 38 +++++++++++++-------------------------
 1 file changed, 13 insertions(+), 25 deletions(-)

-- 
2.23.0


             reply	other threads:[~2019-12-20  7:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-20  7:58 Damien Le Moal [this message]
2019-12-20  7:58 ` [PATCH 1/2] scsi: sd_zbc: Simplify sd_zbc_check_zones() Damien Le Moal
2019-12-20  7:58 ` [PATCH 2/2] scsi: sd_zbc: Rename sd_zbc_check_zones() Damien Le Moal
2020-01-03  2:56 ` [PATCH 0/2] Cleanup sd_zbc zone checks Martin K. Petersen

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=20191220075823.400072-1-damien.lemoal@wdc.com \
    --to=damien.lemoal@wdc.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.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;
as well as URLs for NNTP newsgroup(s).