commit | df414b33bb1eb3a0ae52ccd4ecfec9323a4f89dc | [log] [tgz] |
---|---|---|
author | Matias Bjørling <m@bjorling.me> | Fri May 06 20:03:19 2016 +0200 |
committer | Jens Axboe <axboe@fb.com> | Fri May 06 12:51:10 2016 -0600 |
tree | 9fa28d0008a66a5a82b485f196e44394f8ddc46c | |
parent | 04a8aa173bd9410849526a80dcf733da9c3e142d [diff] |
lightnvm: add is_cached entry to struct ppa_addr A target requires a method to identify PPAs that are either cached in memory or on disk. This can efficiently be maintained within the PPA. The target host-side translation table can then lookup a PPA and know from the PPA if it is cached or on disk. In the case it is cached, it is the responsibility of the target to maintain this cache. Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>