Move the redundant sync handling interface and wait for a completion in the lightnvm core instead.
Showing the changes to include/linux (1 of 3 files). Show all
Unified · Split
| @@ -89,7 +89,6 @@ typedef int (nvm_op_set_bb_fn)(struct nvm_dev *, struct ppa_addr *, int, int); · 88 unmodified lines | |||
| 89 | typedef int (nvm_get_chk_meta_fn)(struct nvm_dev *, sector_t, int, | 89 | typedef int (nvm_get_chk_meta_fn)(struct nvm_dev *, sector_t, int, |
| 90 | struct nvm_chk_meta *); | 90 | struct nvm_chk_meta *); |
| 91 | typedef int (nvm_submit_io_fn)(struct nvm_dev *, struct nvm_rq *); | 91 | typedef int (nvm_submit_io_fn)(struct nvm_dev *, struct nvm_rq *); |
| 92 | typedef int (nvm_submit_io_sync_fn)(struct nvm_dev *, struct nvm_rq *); | ||
| 93 | typedef void *(nvm_create_dma_pool_fn)(struct nvm_dev *, char *, int); | 92 | typedef void *(nvm_create_dma_pool_fn)(struct nvm_dev *, char *, int); |
| 94 | typedef void (nvm_destroy_dma_pool_fn)(void *); | 93 | typedef void (nvm_destroy_dma_pool_fn)(void *); |
| 95 | typedef void *(nvm_dev_dma_alloc_fn)(struct nvm_dev *, void *, gfp_t, | 94 | typedef void *(nvm_dev_dma_alloc_fn)(struct nvm_dev *, void *, gfp_t, |
| @@ -104,7 +103,6 @@ struct nvm_dev_ops { · 8 unmodified lines | |||
| 104 | nvm_get_chk_meta_fn *get_chk_meta; | 103 | nvm_get_chk_meta_fn *get_chk_meta; |
| 105 | 104 | ||
| 106 | nvm_submit_io_fn *submit_io; | 105 | nvm_submit_io_fn *submit_io; |
| 107 | nvm_submit_io_sync_fn *submit_io_sync; | ||
| 108 | 106 | ||
| 109 | nvm_create_dma_pool_fn *create_dma_pool; | 107 | nvm_create_dma_pool_fn *create_dma_pool; |
| 110 | nvm_destroy_dma_pool_fn *destroy_dma_pool; | 108 | nvm_destroy_dma_pool_fn *destroy_dma_pool; |