commit | a279006afa3377493c4240395c70430f2a9b0d2b | [log] [tgz] |
---|---|---|
author | Javier González <jg@lightnvm.io> | Mon Nov 28 22:39:12 2016 +0100 |
committer | Jens Axboe <axboe@fb.com> | Tue Nov 29 12:12:51 2016 -0700 |
tree | 62ee298ab61bd4a06d35f6d303ddfc526032882b | |
parent | 959e911b31981b52ed3f3d6e351b107bcb9163ef [diff] |
lightnvm: introduce max_phys_sects helper function Target devices do not have access to the device driver operations. Introduce a helper function that exposes the max. number of physical sectors supported by the underlying device. Signed-off-by: Javier González <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>