Re: [PATCH 2/3] md: replace MD_DELETED with MD_CLOSING

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

 



On Fri, May 9, 2025 at 6:08 PM Yu Kuai <yukuai1@xxxxxxxxxxxxxxx> wrote:
>
> Hi,
>
> 在 2025/05/09 17:33, Xiao Ni 写道:
> > The two places clear MD_CLOSING rather than setting MD_CLOSING.
> > MD_CLOSING is set when we really want to stop the array (STOP_ARRAY
> > cmd and clear>array_state_store). So the two places clear MD_CLOSING
> > for other situations which look good to me.
>
> No, MD_CLOSING can be set first in the two cases, do something and then
> be cleared, that's why I said temporarily.

So you mean mddev_get should pass in this case (between setting
MD_CLOSING and clearing MD_CLOSING)? It doesn't allow get mddev now
without this patch. This should be right.

Regardes
Xiao

>
> Thanks,
> Kuai
>






[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