mtip32xx: Handle safe removal during IO
Flush inflight IOs using fsync_bdev() when the device is safely removed. Also, block further IOs in device open function. Signed-off-by: NSelvan Mani <smani@micron.com> Signed-off-by: NRajesh Kumar Sambandam <rsambandam@micron.com> Signed-off-by: NAsai Thambi S P <asamymuthupa@micron.com> Cc: stable@vger.kernel.org Signed-off-by: NJens Axboe <axboe@fb.com>
Showing
想要评论请 注册 或 登录