commit | 7a5abb4b48570c3552e33ff4c72ae1e8dac3ba15 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Jun 06 23:20:49 2016 +0200 |
committer | Jens Axboe <axboe@fb.com> | Sun Jun 12 07:29:43 2016 -0600 |
tree | 00d0e86f8fad328d1e788c060c8b9687bc5f898a | |
parent | a229dbf61e03b70d98f5ed46f476d6369870a6ab [diff] |
nvme: factor out a add nvme_is_write helper Centralize the check if a given NVMe command reads or writes data. Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Jay Freyensee <james.p.freyensee@intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>