]> git.baikalelectronics.ru Git - kernel.git/commit
badblocks: badblocks_set/clear update unacked_exist
authorShaohua Li <shli@fb.com>
Thu, 20 Oct 2016 21:40:06 +0000 (14:40 -0700)
committerJens Axboe <axboe@fb.com>
Fri, 21 Oct 2016 21:45:47 +0000 (15:45 -0600)
commit6546d590fbea929277b59aaae1d5035e373ac0d9
treed2cd820ba9f15c351d0fead32b08e3b698f7d4cc
parent6085aa6ba583829df6d2d50473807f22aee0d80b
badblocks: badblocks_set/clear update unacked_exist

When bandblocks_set acknowledges a range or badblocks_clear a range,
it's possible all badblocks are acknowledged. We should update
unacked_exist if this occurs.

Signed-off-by: Shaohua Li <shli@fb.com>
Reviewed-by: Tomasz Majchrzak <tomasz.majchrzak@intel.com>
Tested-by: Tomasz Majchrzak <tomasz.majchrzak@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/badblocks.c