From: Albert H. <he...@us...> - 2009-03-02 18:49:51
|
Update of /cvsroot/gc-linux/linux/drivers/block In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv2573/drivers/block Modified Files: rvl-stsd.c Log Message: [PATCH] rvl-stsd: tell the block layer that it is not a rotational device From: Albert Herranz <alb...@ya...> Date: Mon, 2 Mar 2009 00:05:55 +0100 Subject: [PATCH] rvl-stsd: tell the block layer that it is not a rotational device Signed-off-by: Albert Herranz <alb...@ya...> Index: rvl-stsd.c =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/block/rvl-stsd.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** rvl-stsd.c 1 Feb 2009 18:29:35 -0000 1.6 --- rvl-stsd.c 2 Mar 2009 18:49:41 -0000 1.7 *************** *** 2059,2062 **** --- 2059,2063 ---- blk_queue_max_sectors(queue, STSD_MAX_SECTORS); /* 16 * 512 = 8K */ blk_queue_dma_alignment(queue, STARLET_IPC_DMA_ALIGN); + queue_flag_set_unlocked(QUEUE_FLAG_NONROT, queue); queue->queuedata = host; host->queue = queue; |