commit | 686d8e0bb5207c2a651eb5b28ac15db33adda59d | [log] [tgz] |
---|---|---|
author | Asai Thambi SP <asamymuthupa@micron.com> | Mon May 11 15:51:27 2015 -0700 |
committer | Jens Axboe <axboe@fb.com> | Tue Jun 16 08:24:47 2015 -0600 |
tree | 0ac475fc3864349ae7ae70697c07bb4e66dd7554 | |
parent | ee04bed690cb49a49512a641405bac42d13c2b2a [diff] |
mtip32xx: Abort I/O during secure erase operation Currently I/Os are being queued when secure erase operation starts, and issue them after the operation completes. As all data will be gone when the operation completes, any queued I/O doesn't make sense. Hence, abort I/O (return -ENODATA) as soon as the driver receives. Signed-off-by: Selvan Mani <smani@micron.com> Signed-off-by: Asai Thambi S P <asamymuthupa@micron.com> Signed-off-by: Jens Axboe <axboe@fb.com>