mirror of https://gitee.com/openkylin/linux.git
[PATCH] md: fix a comment that is wrong in raid5.h
Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
fbedac04fa
commit
b5c124af69
|
@ -195,8 +195,9 @@ struct stripe_head {
|
|||
* it to the count of prereading stripes.
|
||||
* When write is initiated, or the stripe refcnt == 0 (just in case) we
|
||||
* clear the PREREAD_ACTIVE flag and decrement the count
|
||||
* Whenever the delayed queue is empty and the device is not plugged, we
|
||||
* move any strips from delayed to handle and clear the DELAYED flag and set PREREAD_ACTIVE.
|
||||
* Whenever the 'handle' queue is empty and the device is not plugged, we
|
||||
* move any strips from delayed to handle and clear the DELAYED flag and set
|
||||
* PREREAD_ACTIVE.
|
||||
* In stripe_handle, if we find pre-reading is necessary, we do it if
|
||||
* PREREAD_ACTIVE is set, else we set DELAYED which will send it to the delayed queue.
|
||||
* HANDLE gets cleared if stripe_handle leave nothing locked.
|
||||
|
|
Loading…
Reference in New Issue