Commit 00e5d35c authored by Christian Borntraeger's avatar Christian Borntraeger Committed by Martin Schwidefsky

s390/xpram: mark xpram as non-rotational

xpram is a memory technology. Lets mark that as non-rotational.
Signed-off-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent a4eeea4e
...@@ -343,6 +343,7 @@ static int __init xpram_setup_blkdev(void) ...@@ -343,6 +343,7 @@ static int __init xpram_setup_blkdev(void)
put_disk(xpram_disks[i]); put_disk(xpram_disks[i]);
goto out; goto out;
} }
queue_flag_set_unlocked(QUEUE_FLAG_NONROT, xpram_queues[i]);
blk_queue_make_request(xpram_queues[i], xpram_make_request); blk_queue_make_request(xpram_queues[i], xpram_make_request);
blk_queue_logical_block_size(xpram_queues[i], 4096); blk_queue_logical_block_size(xpram_queues[i], 4096);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment