Patch : drivers/md/dm-verity-target.c

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

 



Hi Developers, 

I have attached the patch for file : drivers/md/dm-verity-target.c

Race condition with some eMMC devices where the early_probe
to dm-verity driver try to check access of data device
fails. As this error is going to impact the bootup and mount
of rootfs. As its impact bootup we make to wait for and
then do a bail-out .
adding the error which show the that dm-init already
ack "all device available " but dm-verity returned
error .
device-mapper: init: all devices available
device-mapper: table: 252:0: verity: Data device lookup failed
device-mapper: ioctl: error adding target to table

This patch is going to wait based on module parm if not passed it
will be 1sec max.

This patch is based on
https://lore.kernel.org/lkml/7442e695-654a-59c2-e3dd-710946e6cddd@xxxxxxxx/T/
which tries to do the same to dm-int level.


Thanks
Aaditya



Attachment: 0001-md-dm-verity-target-Wait-data-devices-giving-time-to.patch
Description: 0001-md-dm-verity-target-Wait-data-devices-giving-time-to.patch


[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux