[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4DC12A96.7030305@pobox.com>
Date: Wed, 04 May 2011 06:29:42 -0400
From: Jeff Garzik <jgarzik@...ox.com>
To: Tejun Heo <htejun@...il.com>
CC: shaohua.li@...el.com, linux-kernel@...r.kernel.org,
linux-ide@...r.kernel.org, jaxboe@...ionio.com, hch@...radead.org,
djwong@...ibm.com
Subject: Re: [patch v2 3/3] SATA: enable non-queueable flush flag
On 05/04/2011 04:53 AM, Tejun Heo wrote:
> On Wed, May 04, 2011 at 04:17:28PM +0800, shaohua.li@...el.com wrote:
>> @@ -3424,7 +3424,9 @@ void ata_scsi_scan_host(struct ata_port
>> sdev = __scsi_add_device(ap->scsi_host, channel, id, 0,
>> NULL);
>> if (!IS_ERR(sdev)) {
>> + struct request_queue *q = sdev->request_queue;
>> dev->sdev = sdev;
>> + blk_set_queue_flush_queueable(q, false);
>> scsi_device_put(sdev);
>> } else {
>> dev->sdev = NULL;
> Isn't ata_scsi_dev_config() better place for this?
Yes :)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists