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: NShaohua Li <shli@fb.com> Reviewed-by: NTomasz Majchrzak <tomasz.majchrzak@intel.com> Tested-by: NTomasz Majchrzak <tomasz.majchrzak@intel.com> Signed-off-by: NJens Axboe <axboe@fb.com>
Showing
想要评论请 注册 或 登录