All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bart Van Assche <bvanassche@acm.org>
To: linux-scsi <linux-scsi@vger.kernel.org>,
	James Bottomley <jbottomley@parallels.com>,
	Jens Axboe <axboe@kernel.dk>, Joe Lawrence <jdl1291@gmail.com>,
	Jun'ichi Nomura <j-nomura@ce.jp.nec.com>,
	Mike Christie <michaelc@cs.wisc.edu>,
	Muthukumar Ratty <muthur@gmail.com>,
	Stefan Richter <stefanr@s5r6.in-berlin.de>,
	Tejun Heo <tj@kernel.org>
Subject: [PATCH 0/4 v10] SCSI device removal fixes
Date: Fri, 29 Jun 2012 15:30:46 +0000	[thread overview]
Message-ID: <4FEDCA26.90804@acm.org> (raw)

This is version ten of the SCSI device removal patch series. This
patch series has been tested by triggering a large number of removals of
a SCSI device controlled by the ib_srp LLD and at the same time running
an I/O integrity test with fio on a dm device on top of the SRP SCSI device.

Changes compared to v9:
- Added a patch to the series (3/5).
- Updated patch description of patch 2/5, swapped a kfree() and
  blk_cleanup_queue() call to make the code easier to read and removed
  the BUG_ON(!sdev) statements from that patch.

Changes compared to v8:
- Replaced the block layer patch (1/4) by a more comprehensive patch
  from Muthukumar Ratty.
- Added "Reviewed-by: Mike Christie" in patches 2/4..4/4.

Changes compared to v7:
- Made sure that __scsi_queue_insert() processes the request that has
  been passed to that function. Added a comment in that function too.
- Fixed a typo in the description of the first patch in this series
  and removed "CC: stable".

Changes compared to v6:
- Added a fix for a race in the block layer.
- Moved a BUG_ON(!sdev) statement up since it's a precondition check.
- Changed return type of scsi_queue_insert() from int to void.
- Added a cancel_work_sync(&sdev->requeue_work) call in
  __scsi_remove_device().

Changes compared to v5:
- Removed the function scsi_free_queue() and inlined that function
  in its callers.
- Added two additional patches.

             reply	other threads:[~2012-06-29 15:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-29 15:30 Bart Van Assche [this message]
2012-06-29 15:31 ` [PATCH 1/5] block: Fix blk_execute_rq_nowait() dead queue handling Bart Van Assche
2012-06-29 15:33 ` [PATCH 2/5] scsi: Fix device removal NULL pointer dereference Bart Van Assche
2012-06-29 15:34 ` [PATCH 3/5] scsi: Avoid dangling pointer in scsi_requeue_command() Bart Van Assche
2012-06-29 16:06   ` Mike Christie
2012-06-29 16:48   ` Tejun Heo
2012-06-29 15:35 ` [PATCH 4/5] scsi: Change return type of scsi_queue_insert() into void Bart Van Assche
2012-06-29 15:36 ` [PATCH 5/5] scsi: Stop accepting SCSI requests before removing a device 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=4FEDCA26.90804@acm.org \
    --to=bvanassche@acm.org \
    --cc=axboe@kernel.dk \
    --cc=j-nomura@ce.jp.nec.com \
    --cc=jbottomley@parallels.com \
    --cc=jdl1291@gmail.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=michaelc@cs.wisc.edu \
    --cc=muthur@gmail.com \
    --cc=stefanr@s5r6.in-berlin.de \
    --cc=tj@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.