]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: check in-memory sit version bitmap
authorChao Yu <yuchao0@huawei.com>
Sat, 7 Jan 2017 10:52:34 +0000 (18:52 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 23 Feb 2017 02:48:50 +0000 (18:48 -0800)
commit6217b5c989f0e85958b4433216092ebc04643e17
treed1056be266950f6b7da2564001c9c71df7f7983e
parent49d8d657176cf509758306f7a2623f4cf9bfbfbf
f2fs: check in-memory sit version bitmap

This patch adds a mirror for sit version bitmap, and use it to detect
in-memory bitmap corruption which may be caused by bit-transition of
cache or memory overflow.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c
fs/f2fs/segment.h