public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: Hannes Reinecke <hare@suse.de>
Cc: Christoph Hellwig <hch@lst.de>, Jens Axboe <axboe@kernel.dk>,
	Ming Lei <ming.lei@redhat.com>,
	linux-block@vger.kernel.org
Subject: Re: [PATCH 6/6] block: remove blk_cleanup_disk
Date: Mon, 20 Jun 2022 10:56:47 +0200	[thread overview]
Message-ID: <20220620085647.GA13464@lst.de> (raw)
In-Reply-To: <25329ddf-73d1-70e9-cd2f-372309e509ba@suse.de>

On Mon, Jun 20, 2022 at 10:49:06AM +0200, Hannes Reinecke wrote:
> I wish we could have blktests for tearing down device-drivers; doing a 
> regression test here will be really hard.

The problem with a remove is that while we have a generic device remove
attribute, it:

 a) isn't always in the same place relatively to the disk
 b) once removed we have no generic way to add the device back for
    further testing

nvme/032 has basic remove testing for nvme, and I think I can also
wire up my scsi bind/unbind testing for blktests using scsi_debug without
too much effort.  But that still isn't exactly a generic test.

  reply	other threads:[~2022-06-20  8:56 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-19  6:05 fully tear down the queue in del_gendisk Christoph Hellwig
2022-06-19  6:05 ` [PATCH 1/6] mtip32xx: remove the device_status debugfs file Christoph Hellwig
2022-06-20  8:37   ` Hannes Reinecke
2022-06-19  6:05 ` [PATCH 2/6] mtip32xx: fix device removal Christoph Hellwig
2022-06-20  8:38   ` Hannes Reinecke
2022-06-19  6:05 ` [PATCH 3/6] block: remove QUEUE_FLAG_DEAD Christoph Hellwig
2022-06-19 14:07   ` Bart Van Assche
2022-06-20  6:20     ` Christoph Hellwig
2022-06-20  8:39   ` Hannes Reinecke
2022-06-19  6:05 ` [PATCH 4/6] block: stop setting the nomerges flags in blk_cleanup_queue Christoph Hellwig
2022-06-20  8:40   ` Hannes Reinecke
2022-06-19  6:05 ` [PATCH 5/6] block: simplify disk shutdown Christoph Hellwig
2022-06-20  8:47   ` Hannes Reinecke
2022-06-19  6:05 ` [PATCH 6/6] block: remove blk_cleanup_disk Christoph Hellwig
2022-06-20  8:49   ` Hannes Reinecke
2022-06-20  8:56     ` Christoph Hellwig [this message]
2022-06-20  9:00       ` Hannes Reinecke
2022-06-28 14:42       ` Sagi Grimberg
2022-06-19 22:21 ` fully tear down the queue in del_gendisk Jens Axboe
2022-06-20  6:09   ` Christoph Hellwig
2022-06-20 11:16     ` Jens Axboe
2022-06-28  5:11       ` Christoph Hellwig
2022-06-28 12:29         ` Jens Axboe
2022-06-28 12:35           ` Jens Axboe
2022-06-28 12:33 ` 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=20220620085647.GA13464@lst.de \
    --to=hch@lst.de \
    --cc=axboe@kernel.dk \
    --cc=hare@suse.de \
    --cc=linux-block@vger.kernel.org \
    --cc=ming.lei@redhat.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