summaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2013-05-16 15:27:13 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-05-17 11:47:04 +0200
commit00e5d35c0ffcbc59d7126387a0ca74a3abe62f59 (patch)
tree307d2d55cc8ddf08cc2df8565477484478b72f89 /drivers/s390
parenta4eeea4e530fee26918529eb1b36ae306095eef5 (diff)
downloadblackbird-op-linux-00e5d35c0ffcbc59d7126387a0ca74a3abe62f59.tar.gz
blackbird-op-linux-00e5d35c0ffcbc59d7126387a0ca74a3abe62f59.zip
s390/xpram: mark xpram as non-rotational
xpram is a memory technology. Lets mark that as non-rotational. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/block/xpram.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/block/xpram.c b/drivers/s390/block/xpram.c
index 690c3338a8ae..464dd29d06c0 100644
--- a/drivers/s390/block/xpram.c
+++ b/drivers/s390/block/xpram.c
@@ -343,6 +343,7 @@ static int __init xpram_setup_blkdev(void)
put_disk(xpram_disks[i]);
goto out;
}
+ queue_flag_set_unlocked(QUEUE_FLAG_NONROT, xpram_queues[i]);
blk_queue_make_request(xpram_queues[i], xpram_make_request);
blk_queue_logical_block_size(xpram_queues[i], 4096);
}
OpenPOWER on IntegriCloud