From: Christian Borntraeger Date: Thu, 16 May 2013 13:27:13 +0000 (+0200) Subject: s390/xpram: mark xpram as non-rotational X-Git-Tag: v3.10-rc3~36^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=00e5d35c0ffcbc59d7126387a0ca74a3abe62f59;p=platform%2Fkernel%2Flinux-stable.git s390/xpram: mark xpram as non-rotational xpram is a memory technology. Lets mark that as non-rotational. Signed-off-by: Christian Borntraeger Signed-off-by: Martin Schwidefsky --- 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); }