[PATCH 07/13] libmultipath: Add delayed removal support

John Garry john.g.garry at oracle.com
Mon Mar 2 07:54:51 PST 2026


On 02/03/2026 12:41, Nilay Shroff wrote:
>> +
>>   void mpath_add_sysfs_link(struct mpath_disk *mpath_disk)
>>   {
>>       struct mpath_head *mpath_head = mpath_disk->mpath_head;
>> @@ -793,6 +868,8 @@ struct mpath_head *mpath_alloc_head(void)
>>       mutex_init(&mpath_head->lock);
>>       kref_init(&mpath_head->ref);
>> +    mpath_head->delayed_removal_secs = 0;
>> +
>>       INIT_WORK(&mpath_head->requeue_work, mpath_requeue_work);
>>       spin_lock_init(&mpath_head->requeue_lock);
>>       bio_list_init(&mpath_head->requeue_list);
> 
> I think we also need to initialize ->drv_module here.

Yes, thanks!



More information about the Linux-nvme mailing list