Searched hist:"86 aa1397ddfde563b3692adadb8b8e32e97b4e5e" (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/md/ |
H A D | raid5-cache.c | diff 86aa1397ddfde563b3692adadb8b8e32e97b4e5e Fri Jan 13 02:22:41 CET 2017 Song Liu <songliubraving@fb.com> md/r5cache: read data into orig_page for prexor of cached data
With write back cache, we use orig_page to do prexor. This patch makes sure we read data into orig_page for it.
Flag R5_OrigPageUPTDODATE is added to show whether orig_page has the latest data from raid disk.
We introduce a helper function uptodate_for_rmw() to simplify the a couple conditions in handle_stripe_dirtying().
Signed-off-by: Song Liu <songliubraving@fb.com> Signed-off-by: Shaohua Li <shli@fb.com>
|
H A D | raid5.h | diff 86aa1397ddfde563b3692adadb8b8e32e97b4e5e Fri Jan 13 02:22:41 CET 2017 Song Liu <songliubraving@fb.com> md/r5cache: read data into orig_page for prexor of cached data
With write back cache, we use orig_page to do prexor. This patch makes sure we read data into orig_page for it.
Flag R5_OrigPageUPTDODATE is added to show whether orig_page has the latest data from raid disk.
We introduce a helper function uptodate_for_rmw() to simplify the a couple conditions in handle_stripe_dirtying().
Signed-off-by: Song Liu <songliubraving@fb.com> Signed-off-by: Shaohua Li <shli@fb.com>
|
H A D | raid5.c | diff 86aa1397ddfde563b3692adadb8b8e32e97b4e5e Fri Jan 13 02:22:41 CET 2017 Song Liu <songliubraving@fb.com> md/r5cache: read data into orig_page for prexor of cached data
With write back cache, we use orig_page to do prexor. This patch makes sure we read data into orig_page for it.
Flag R5_OrigPageUPTDODATE is added to show whether orig_page has the latest data from raid disk.
We introduce a helper function uptodate_for_rmw() to simplify the a couple conditions in handle_stripe_dirtying().
Signed-off-by: Song Liu <songliubraving@fb.com> Signed-off-by: Shaohua Li <shli@fb.com>
|