> -----Original Message-----
> From: linux-mmc-ow...@vger.kernel.org [mailto:linux-mmc-
> ow...@vger.kernel.org] On Behalf Of Linus Walleij
> Sent: Wednesday, May 10, 2017 11:24 AM
> To: linux-...@vger.kernel.org; Ulf Hansson <ulf.hans...@linaro.org>;
> Adrian Hunter <adrian.hun...@intel.com>
> Cc: linux-block@vger.kernel.org; Jens Axboe <ax...@kernel.dk>; Christoph
> Hellwig <h...@lst.de>; Arnd Bergmann <a...@arndb.de>; Bartlomiej
> Zolnierkiewicz <b.zolnier...@samsung.com>; Paolo Valente
> <paolo.vale...@linaro.org>; Linus Walleij <linus.wall...@linaro.org>
> Subject: [PATCH 5/5] mmc: block: move multi-ioctl() to use block layer
> 
> This switches also the multiple-command ioctl() call to issue all ioctl()s
> through the block layer instead of going directly to the device.
> 
> We extend the passed argument with an argument count and loop over all
> passed commands in the ioctl() issue function called from the block layer.
> 
> By doing this we are again loosening the grip on the big host lock, since two
> calls to mmc_get_card()/mmc_put_card() are removed.
> 
> Signed-off-by: Linus Walleij <linus.wall...@linaro.org>
Tested-by: Avri Altman <avri.alt...@sandisk.com>

Reply via email to