Re: [PATCH] mmc: block: Fix bug when removing RPMB chardev

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 4, 2017 at 8:14 AM, Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
> On Tue, Oct 3, 2017 at 11:57 PM, Avri Altman <Avri.Altman@xxxxxxx> wrote:
>
>> Multiple simultaneous accesses is forbidden.
>> So maybe direct recounting is better for controlling it?
>
> That is already handled by patches:
>
> commit 614f0388f580c436d2cf6dc0855de91d13ddc23d
> "mmc: block: move single ioctl() commands to block requests"
> commit 3ecd8cf23f88d5df1c545a5c04217987abb28575
> "mmc: block: move multi-ioctl() to use block layer"
>
> Since all ioctl()s are not sent in through the block queue

Since all ioctl()s are NOW sent in through the block queue

> they get serialized by the very nature of how block requests
> work, i.e. one at a time. I have even tried to send RPMB
> commands from two consoles while a huge dd work was already
> working in the background. No problems with that.

Sorry for spellling mistakes.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux