From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [PATCH] blk-mq-sched: (un)register elevator when (un)registering queue To: Omar Sandoval , linux-block@vger.kernel.org References: Cc: kernel-team@fb.com From: Jens Axboe Message-ID: Date: Mon, 6 Feb 2017 13:56:05 -0700 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 List-ID: On 02/06/2017 01:52 PM, Omar Sandoval wrote: > From: Omar Sandoval > > I noticed that when booting with a default blk-mq I/O scheduler, the > /sys/block/*/queue/iosched directory was missing. However, switching > after boot did create the directory. This is because we skip the initial > elevator register/unregister when we don't have a ->request_fn(), but we > should still do it for the ->mq_ops case. Good catch Omar, applied. -- Jens Axboe