SCSI driver/can_queue and cmd_per_lun
From: tcs (dzshen_at_winbond.com.tw)
Date: 04/30/04
- Previous message: tcs: "pci_map_single() and pci_unmap_single() pair"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 30 Apr 2004 11:27:27 +0800
Greetings:
We already implemented a working PCI SCSI device driver but there are
something we don't quite understand.
In our driver, we set cmd_per_lun to 1 and can_queue to 1.
We did some search on the internet and the explanation for can_queue is
the "at most n outstanding command per LUN." This makes sense. can_queue is
1 which means our driver can queue command asynchronously. This doesn't make
sense to me. Can can_queue be anything from 0 to 100? What does it mean if
can_queue is 10? Some sources in /driver/scsi directory have can_queue other
than 1 and 0.
thanks in advance
tcs
- Previous message: tcs: "pci_map_single() and pci_unmap_single() pair"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]