Re: [PATCH v2 2/9] md: prepare for enable raid1 io serialization

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

 



On Thu, Nov 21, 2019 at 2:37 AM <jgq516@xxxxxxxxx> wrote:
>
> From: Guoqing Jiang <guoqing.jiang@xxxxxxxxxxxxxxx>
>
> 1. The related resources (spin_lock, list and waitqueue) are needed for
> address raid1 reorder overlap issue too, so add "is_force" parameter to
> funcs (mddev_create/destroy_serial_pool). The parameter is set to true
> if we want to enable or disable raid1 io serialization in later patch.

Looks like is_force is always the same as "rdev == NULL"? Can we remove the
is_force argument and use rdev == NULL instead? I guess it will also simplify
the functions.

Thanks,
Song



[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