Re: Random libata notes

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

 



Tejun Heo wrote:
Jeff Garzik wrote:

These are small TODO bits that I didn't want to forget... Patches welcome.

1) ATAPI edge case. Due to adding the padding s/g entry, we must adjust sg_tablesize to include ' - 1' for each driver


Isn't this handled by ata_scsi_slave_config()? If the attached device is ATAPI, ata_scsi_slave_config() reduces max_hw_segments by 1. We'll need to increment it back when detaching the device though.

Yes, you're right.

	Jeff


-
: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux