On 01/30/2010 12:28 AM, Ravi Anand wrote:
- msleep(2000);
- } while (max_wait_time--);
+ if (got_ref&& (atomic_read(&rp->ref_count) == 1)) {
+ done++;
+ break;
+ }
+
+ msleep(ABORT_POLLING_PERIOD);
Did you want to use krefs for the refcounting?
And why is this so funky (got_ref arg and refcount peak) compared to the
qla2xxx one?
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html