commit | 6362f0a290023bafd7f991089e81dd9278f154b8 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Tue Jun 19 10:12:48 2018 -0600 |
committer | Tejun Heo <tj@kernel.org> | Tue Jun 19 09:30:27 2018 -0700 |
tree | 428cf7f50aa99f374ad4eedf1e326dbd1fc118f4 | |
parent | 95ffcf471d05ec7c91993c91dea912f99dccfc26 [diff] |
libata: add command iterator helpers Now that we have the internal tag as a special (higher) value tag, it gets a bit tricky to iterate the internal commands as some loops will exceed ATA_MAX_QUEUE. Add explicit helpers for iterating pending commands, both inflight and internal. Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Tejun Heo <tj@kernel.org>