public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] scsi_lib: Some love to scsi_lib
@ 2010-11-08 15:02 Boaz Harrosh
  2010-11-08 15:10 ` [PATCH 1/3] scsi_lib: request_queue is only needed inside scsi_requeue_command Boaz Harrosh
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Boaz Harrosh @ 2010-11-08 15:02 UTC (permalink / raw)
  To: James Bottomley, linux-scsi, Alan Stern, Jeff Garzik
  Cc: Christoph Hellwig, FUJITA Tomonori

Submitted a much needed cleanup to scsi_lib's command completion
path. The code after these patches should theoretically be
behaviour equivalent to current code. Only cleaner smaller, and
easier to understand. The motivation was to make things clearer
to understand. It was all inspired by Alan Stern and more things
added to that.

Theoretically, since I have only tested with the usual tests I have.
Boot an x86_64 machine, git clone, make, xfstests ...
I did not run any Error injection tests with scsi_debug, since I don't
have any set up. Though one should because the error handling might
have changed accidentally, though not intended.

Please someone, Alan Jeff ... I have tried to go through every possible
code path and prove that we do exactly as before. But I might have missed
something. Please check my Math.

I'm sitting on these patches since 2.6.34-rc4, but never followed
them through, and tested them. Sorry. They patched without any issues
on top of current scsi-misc meaning nothing changed in this area since a
long time.

The patches are:
[PATCH 1/3] scsi_lib: request_queue is only needed inside scsi_requeue_command
[PATCH 2/3] scsi_lib: Remove that __scsi_release_buffers contraption

	These two are pure and trivial

[PATCH 3/3] scsi_lib: Collapse scsi_end_request into only user

	This one should be reviewed, but should not change any
	behaviour.

Thanks
Boaz

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [PATCHSET 0/3] little bit of love to scsi_io_completion
@ 2010-01-04 12:11 Boaz Harrosh
  2010-01-04 12:17 ` [PATCH 3/3] scsi_lib: Collapse scsi_end_request into only user Boaz Harrosh
  0 siblings, 1 reply; 8+ messages in thread
From: Boaz Harrosh @ 2010-01-04 12:11 UTC (permalink / raw)
  To: James Bottomley, Alan Stern, Mike Christie, Hannes Reinecke,
	linux-scsi


Three small incremental patches to clean up scsi_io_completion and friends.
There should be absolutely no functional change after this patchset, only
readability improvements.

This patchset should open up the stage for the fixes Alan needs and farther
enhancements.

(Mike, Hannes, I know you have pending work here, please point me to patches and
 I'll rebase them for you)

List of patches
[PATCH 1/3] scsi_lib: request_queue is only needed inside scsi_requeue_command
[PATCH 2/3] scsi_lib: Remove that __scsi_release_buffers contraption
[PATCH 3/3] scsi_lib: Collapse scsi_end_request into only user

Are on top of scsi-misc Please consider for inclusion
Boaz


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-11-08 16:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-08 15:02 [PATCH 0/3] scsi_lib: Some love to scsi_lib Boaz Harrosh
2010-11-08 15:10 ` [PATCH 1/3] scsi_lib: request_queue is only needed inside scsi_requeue_command Boaz Harrosh
2010-11-08 15:11 ` [PATCH 2/3] scsi_lib: Remove that __scsi_release_buffers contraption Boaz Harrosh
2010-11-08 15:15 ` [PATCH 3/3] scsi_lib: Collapse scsi_end_request into only user Boaz Harrosh
2010-11-08 16:18 ` [PATCH] scsi_lib: BUG: Can't RETRY scsi_cmnd if some bytes were completed Boaz Harrosh
  -- strict thread matches above, loose matches on Subject: below --
2010-01-04 12:11 [PATCHSET 0/3] little bit of love to scsi_io_completion Boaz Harrosh
2010-01-04 12:17 ` [PATCH 3/3] scsi_lib: Collapse scsi_end_request into only user Boaz Harrosh
2010-01-04 13:23   ` Matthew Wilcox
2010-01-04 13:56     ` Boaz Harrosh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox