commit | fc833c2a2f4129c42efdaed64b9eb6e9ae5fdcee | [log] [tgz] |
---|---|---|
author | JackieLiu <liuyun01@kylinos.cn> | Mon Nov 28 16:19:19 2016 +0800 |
committer | Shaohua Li <shli@fb.com> | Tue Nov 29 14:46:21 2016 -0800 |
tree | 8a69cc0d3019d18a17473314cffd5a6602eb5643 | |
parent | 9b69173e5c6000b2c6fafc5085dcd7b173f073c8 [diff] |
md/raid5-cache: use ring add to prevent overflow 'write_pos' must be protected with 'r5l_ring_add', or it may overflow Signed-off-by: JackieLiu <liuyun01@kylinos.cn> Reviewed-by: Song Liu <songliubraving@fb.com> Signed-off-by: Shaohua Li <shli@fb.com>