Re: [PATCH mdadm v3 5/7] mdadm: Add --write-zeros option for Create

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

 




On 2022-09-29 23:23, Xiao Ni wrote:
>>>   extern const char Name[];
>>>   
>>>   struct md_bb_entry {
>>> @@ -387,6 +390,8 @@ struct mdinfo {
>>>   		ARRAY_UNKNOWN_STATE,
>>>   	} array_state;
>>>   	struct md_bb bb;
>>> +
>>> +	pid_t zero_pid;
>>>   };
>> mdinfo is  used  for raid properties. It is used for both system (sysfs_read())
>> and metadata(getinfo_super()). zero_pid property doesn't fit well there, it is
>> used once during creation. Could you please add it to mddev_dev struct or add
>> it to local array /list?
> 
> 
> Hi Logan
> 
> I have the same question about this.
> 
> Beside this problem, the others are good for me. By the way, it needs to 
> pull to the latest upstream. Now
> 
> it has conficts when mergeing v3 patch.

Yup, thanks, I'll make the changes for v4 next week.

Logan




[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