linux-raid raid5 delaying write

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

 



hello,
In the source code,in order to collect multiple write requests,first
add the requests to delayed_list,
then use plug/unplug to wait.During the waiting time,if other requests
arrive to full a stripe_head buffer,
then compute parity and send write request to low level to deal.
If not so, the requests will be set pre-read mark
stripe_preread_active,then send pre-read request to low level.
I want to know if up level send read request and later a write request
arrive to write the same place of read request before,
will the read request be canceled and return the data of write request?

Best Regards
Dong Wu
--
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