Re: [PATCH v2 2/2] udev: add --no-devices option for calling 'mdadm --detail'

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

 



On 7/31/19 1:29 AM, Coly Li wrote:
> When creating symlink of a md raid device, the detailed information of
> component disks are unnecessary for rule udev-md-raid-arrays.rules. For
> md raid devices with huge number of component disks (e.g. 1500 DASD
> disks), the detail information of component devices can be very large
> and exceed udev monitor's on-stack message buffer.
> 
> This patch adds '--no-devices' option when calling mdadm by,
> IMPORT{program}="BINDIR/mdadm --detail --no-devices --export $devnode"
> 
> Now the detailed output won't include component disks information,
> and the error message "invalid message length" reported by systemd can
> be removed.
> 
> Signed-off-by: Coly Li <colyli@xxxxxxx>
> Reviewed-by: NeilBrown <neilb@xxxxxxxx>

Applied!

Thanks
Jes




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux