commit | 2d4f468753777a29124f779cdffd1ec009d70597 | [log] [tgz] |
---|---|---|
author | Song Liu <songliubraving@fb.com> | Tue Mar 07 17:44:21 2017 -0800 |
committer | Shaohua Li <shli@fb.com> | Thu Mar 16 16:55:57 2017 -0700 |
tree | 758313f86d462d06c6dfedca2aae8922a4c4a7a3 | |
parent | ba903a3ea465bd2f2bb9316054b295e79a7a518e [diff] |
md/r5cache: handle R5LOG_PAYLOAD_FLUSH in recovery This patch adds handling of R5LOG_PAYLOAD_FLUSH in journal recovery. Next patch will add logic that generate R5LOG_PAYLOAD_FLUSH on flush finish. When R5LOG_PAYLOAD_FLUSH is seen in recovery, pending data and parity will be dropped from recovery. This will reduce the number of stripes to replay, and thus accelerate the recovery process. Signed-off-by: Song Liu <songliubraving@fb.com> Signed-off-by: Shaohua Li <shli@fb.com>