Thread (27 messages) 27 messages, 8 authors, 2017-05-23

RE: [PATCH 5/5] mmc: block: move multi-ioctl() to use block layer

From: Avri Altman <hidden>
Date: 2017-05-23 10:51:42
Also in: linux-mmc

-----Original Message-----
From: Avri Altman
Sent: Tuesday, May 23, 2017 12:21 PM
To: 'Linus Walleij' <redacted>; linux-mmc@vger.kernel.org=
; Ulf
Hansson [off-list ref]; Adrian Hunter
[off-list ref]
Cc: linux-block@vger.kernel.org; Jens Axboe <axboe@kernel.dk>; Christoph
Hellwig [off-list ref]; Arnd Bergmann [off-list ref]; Bartlomiej
Zolnierkiewicz [off-list ref]; Paolo Valente
[off-list ref]
Subject: RE: [PATCH 5/5] mmc: block: move multi-ioctl() to use block laye=
r
=20
=20
=20
quoted
-----Original Message-----
From: linux-mmc-owner@vger.kernel.org [mailto:linux-mmc-
owner@vger.kernel.org] On Behalf Of Linus Walleij
Sent: Wednesday, May 10, 2017 11:24 AM
To: linux-mmc@vger.kernel.org; Ulf Hansson <redacted>;
Adrian Hunter [off-list ref]
Cc: linux-block@vger.kernel.org; Jens Axboe <axboe@kernel.dk>;
Christoph Hellwig [off-list ref]; Arnd Bergmann [off-list ref];
Bartlomiej Zolnierkiewicz [off-list ref]; Paolo Valente
[off-list ref]; Linus Walleij [off-list ref]
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 devic=
e.
quoted
We extend the passed argument with an argument count and loop over all
passed commands in the ioctl() issue function called from the block lay=
er.
quoted
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 <redacted>
Tested-by: Avri Altman <redacted>
Few more words - we used mmc_utils to run ffu (field firmware update) that =
uses multi-ioctl.
We used Intel NUC with SanDisk storage - this way we could verify that inde=
ed our fw is updated properly.

Cheers,
Avri
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help