commit | ed996a52c868b62c4e5bf529cb4ccb44bcfa2f8e | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Jul 19 11:28:42 2016 +0200 |
committer | Jens Axboe <axboe@fb.com> | Wed Jul 20 17:37:02 2016 -0600 |
tree | 83c3fbdb4cd912fb925b5aee2ca45b8054a4aae3 | |
parent | 70246286e94c335b5bea0cbc68a17a96dd620281 [diff] |
block: simplify and cleanup bvec pool handling Instead of a flag and an index just make sure an index of 0 means no need to free the bvec array. Also move the constants related to the bvec pools together and use a consistent naming scheme for them. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Mike Christie <mchristi@redhat.com> Signed-off-by: Jens Axboe <axboe@fb.com>