Re: [PATCH] raid5: only dispatch IO from raid5d for harddisk raid

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

 



> On Jan 4, 2017, at 9:57 AM, Shaohua Li <shli@xxxxxx> wrote:
> 
> +	spin_lock_init(&conf->pending_bios_lock);
> +	conf->batch_bio_dispatch = true;
> +	rdev_for_each(rdev, mddev) {
> +		if (blk_queue_nonrot(bdev_get_queue(rdev->bdev))) {
> +			conf->batch_bio_dispatch = false;

Shall we skip this check for the journal device? 

Song
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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