Re: [Bug 7026] CD/DVD burning with USB writer doesn't work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2006-12-04 at 15:11 -0500, Alan Stern wrote:
> Can you please take a look at this entry in Bugzilla:
> 
> 	http://bugzilla.kernel.org/show_bug.cgi?id=7026
> 
> The important part starts at Comment 21; in particular the last two 
> comments from Joerg Schilling and me are relevant to the SG driver.

The only comment I'd have is that your last path is too convoluted.  For
any cdrecord -dev=/dev/<block dev>

Then 

/sys/block/<block dev>/queue/max_sectors_kb 

should work just fine.

For the corner cases where /dev/<block dev> isn't the canonical name,
you can find the actual /sys/block/<name> by getting the major:minor and
scanning through /sys/block/*/dev

The only other thing I'd note is that there's no connection between this
value and the one returned by SG_GET_RESERVED_SIZE.  The former is the
max sectors per request.  The latter is the size of the internal buffer
used to build sg lists.

James


-
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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux