lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100922204216.GA7487@redhat.com>
Date:	Wed, 22 Sep 2010 16:42:16 -0400
From:	Vivek Goyal <vgoyal@...hat.com>
To:	Jens Axboe <jaxboe@...ionio.com>
Cc:	Christoph Hellwig <hch@....de>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Maxim Levitsky <maximlevitsky@...il.com>
Subject: Re: [PATCH] floppy: switch to one queue per drive instead of sharing
 a queue (Was: Re: cgq vs bdi names, was "cfq-iosched: fix a kernel OOPs when
 usb key  is inserted")

On Wed, Sep 22, 2010 at 12:17:54AM +0200, Jens Axboe wrote:

[..]
> Super, thanks a lot! I will queue this up. If you want to continue
> this (very noble) crusade, the next target is
> drivers/mtd/mtd_blkdevs.c. I never got that one started, but it was
> next on my list.

Hi Jens,

IIUC, for MTD this conversion is already done and we seem to be using separate
request queue for each gendisk instead of some disks sharing a single
request queue. I think by following is relevant commit. Maxim should be
able to confirm though.

-----------------------------------------------------------------------
commit a863862257b7dd08d855bafcb0aedd9ad848ed91
Author: Maxim Levitsky <maximlevitsky@...il.com>
Date:   Mon Feb 22 20:39:29 2010 +0200

    mtd: blktrans: remove mtd_blkcore_priv, switch to per device queue and
threa
    
    This is the biggest change. To make hotplug possible, and this layer
    clean, the mtd_blktrans_dev now contains everything for a single mtd
    block translation device. Also removed some very old leftovers.
    
    Signed-off-by: Maxim Levitsky <maximlevitsky@...il.com>
    Signed-off-by: David Woodhouse <David.Woodhouse@...el.com>
-----------------------------------------------------------------------

I did create two mtd devices (from block devices, block2mtd), then then
created two block devices on top of those mtd devices (using mtdblock)
and these two devices mtdblock0 and mtdblock1 seems to be using their
own separate request queues. (Change in ioscheduler on one does not change
it on other queue).

So to me it looks like MTD is all set, until and unless I am missing
something.

Vivek
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ