Re: [PATCH] block: Do not reread partition table on exclusively open device

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

 



Hi,

在 2023/02/09 21:58, Jan Kara 写道:

Sorry, I'm not sure what your are asking about here :) Can you please
elaborate more?


It's another artificail race that will cause part scan fail in
device_add_disk().

bdev_add() -> user can open the device now

disk_scan_partitions -> will fail is the device is already opened exclusively

I'm thinking about set disk state before bdev_add()...

Thanks,
Kuai




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux