[PATCH] ide: can't use SSD/non-rotational queue flag for all CFA devices

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

 



From: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>Subject: [PATCH] ide: can't use SSD/non-rotational queue flag for all CFA devices
Some rotating disks also present themselves as CFA devices.
Reported-by: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>--- drivers/ide/ide-disk.c |    2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Index: b/drivers/ide/ide-disk.c===================================================================--- a/drivers/ide/ide-disk.c+++ b/drivers/ide/ide-disk.c@@ -633,7 +633,7 @@ static void ide_disk_setup(ide_drive_t * 	printk(KERN_INFO "%s: max request size: %dKiB\n", drive->name, 		q->max_sectors / 2); -	if (ata_id_is_ssd(id) || ata_id_is_cfa(id))+	if (ata_id_is_ssd(id)) 		queue_flag_set_unlocked(QUEUE_FLAG_NONROT, q);  	/* calculate drive capacity, and select LBA if possible */ÿôèº{.nÇ+?·?®?­?+%?Ëÿ±éݶ¥?wÿº{.nÇ+?·¥?{±þ'^þ)í?æèw*jg¬±¨¶????Ý¢jÿ¾«þG«?éÿ¢¸¢·¦j:+v?¨?wèjØm¶?ÿþø¯ù®w¥þ?àþf£¢·h??â?úÿ?Ù¥


[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