linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: Jens Axboe <axboe@kernel.dk>,
	FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>,
	linux-block@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: bsg cleanup, part 2
Date: Thu, 29 Jul 2021 08:48:41 +0200	[thread overview]
Message-ID: <20210729064845.1044147-1-hch@lst.de> (raw)

Hi Martin,

this is the next round of bsg cleanups based on the previous scsi ioctl
changes.  The biggest changes are major simplification of how the bsg
nodes are created and found, and a simplification of the interface
between the frontend in bsg.c and the two backends.

Diffstat:
 block/blk-mq.c             |    2 
 block/bsg-lib.c            |   89 +++++------
 block/bsg.c                |  353 ++++++++++-----------------------------------
 drivers/scsi/scsi_bsg.c    |   72 +++++----
 drivers/scsi/scsi_ioctl.c  |   63 +++-----
 drivers/scsi/scsi_priv.h   |   11 -
 drivers/scsi/scsi_scan.c   |    2 
 drivers/scsi/scsi_sysfs.c  |   24 ++-
 include/linux/blkdev.h     |   14 -
 include/linux/bsg-lib.h    |    1 
 include/linux/bsg.h        |   31 +--
 include/scsi/scsi_device.h |    5 
 12 files changed, 229 insertions(+), 438 deletions(-)

             reply	other threads:[~2021-07-29  6:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-29  6:48 Christoph Hellwig [this message]
2021-07-29  6:48 ` [PATCH 1/4] bsg: simplify device registration Christoph Hellwig
2021-07-29  6:48 ` [PATCH 2/4] block: remove BLK_SCSI_MAX_CMDS Christoph Hellwig
2021-07-29  6:48 ` [PATCH 3/4] block: remove the remaining SG_IO-related fields from struct request_queue Christoph Hellwig
2021-07-29  6:48 ` [PATCH 4/4] bsg: move the whole request execution into the scsi/transport handlers Christoph Hellwig
2021-07-31  2:29 ` bsg cleanup, part 2 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=20210729064845.1044147-1-hch@lst.de \
    --to=hch@lst.de \
    --cc=axboe@kernel.dk \
    --cc=fujita.tomonori@lab.ntt.co.jp \
    --cc=linux-block@vger.kernel.org \
    --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).