All of lore.kernel.org
 help / color / mirror / Atom feed
* noisy reservation conflicts
@ 2004-06-14  6:01 Douglas Gilbert
  2004-06-14 19:18 ` Mike Anderson
  0 siblings, 1 reply; 4+ messages in thread
From: Douglas Gilbert @ 2004-06-14  6:01 UTC (permalink / raw)
  To: James Bottomley; +Cc: linux-scsi

While testing persistent reservations it is quite common
to get a status of "reservation conflict". When using
the SG_IO ioctl this status is returned via the
sg_io_hdr::status field and is simple to process.

However this lk 2.6.7-rc3 code fragment in
scsi_decide_disposition() [scsi_error.c] makes it very
noisy (on the console and in the log):

         case RESERVATION_CONFLICT:
                 printk("scsi%d (%d,%d,%d) : reservation conflict\n",
                        scmd->device->host->host_no,
                        scmd->device->channel,
                        scmd->device->id, scmd->device->lun);
                 return SUCCESS; /* causes immediate i/o error */

The unadorned printk() looks like debugging code. Could this
be softened, or removed in the case of a RQ_SPECIAL?

Doug Gilbert


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

end of thread, other threads:[~2004-06-25  6:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-14  6:01 noisy reservation conflicts Douglas Gilbert
2004-06-14 19:18 ` Mike Anderson
2004-06-15 12:54   ` Doug Ledford
2004-06-25  6:17   ` [PATCH] lk 2.6.7-bk6 [Re: noisy reservation conflicts] Douglas Gilbert

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.