* [patch 1/8] cciss: Use schedule_timeout_uninterruptible in SCSI error handling code
@ 2009-06-08 20:59 scameron
2009-06-09 3:48 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: scameron @ 2009-06-08 20:59 UTC (permalink / raw)
To: linux-kernel, linux-scsi, axboe, akpm; +Cc: scameron, mikem
Use schedule_timeout_uninterruptible instead of schedule_timeout in the
scsi error handling code when waiting between TUR polls since we are not
interested in nor want to be interrupted by signals.
Signed-off-by: Stephen M. Cameron <scameron@beardog.cca.cpqcorp.net>
---
---
diff -puN drivers/block/cciss_scsi.c~use_uninterruptible_timeout drivers/block/cciss_scsi.c
--- linux-next/drivers/block/cciss_scsi.c~use_uninterruptible_timeout 2009-06-08 12:56:39.000000000 -0500
+++ linux-next-scameron/drivers/block/cciss_scsi.c 2009-06-08 12:57:17.000000000 -0500
@@ -1608,7 +1608,7 @@ static int wait_for_device_to_become_rea
/* Wait for a bit. do this first, because if we send
* the TUR right away, the reset will just abort it.
*/
- schedule_timeout_interruptible(waittime);
+ schedule_timeout_uninterruptible(waittime);
count++;
/* Increase wait time with each try, up to a point. */
_
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch 1/8] cciss: Use schedule_timeout_uninterruptible in SCSI error handling code
2009-06-08 20:59 [patch 1/8] cciss: Use schedule_timeout_uninterruptible in SCSI error handling code scameron
@ 2009-06-09 3:48 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2009-06-09 3:48 UTC (permalink / raw)
To: scameron; +Cc: linux-kernel, linux-scsi, akpm, mikem
On Mon, Jun 08 2009, scameron@beardog.cca.cpqcorp.net wrote:
>
>
> Use schedule_timeout_uninterruptible instead of schedule_timeout in the
> scsi error handling code when waiting between TUR polls since we are not
> interested in nor want to be interrupted by signals.
Thanks Steve, applied 1-8.
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-09 3:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-08 20:59 [patch 1/8] cciss: Use schedule_timeout_uninterruptible in SCSI error handling code scameron
2009-06-09 3:48 ` Jens Axboe
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).