History

lightnvm: remove nvm_submit_io_sync_fn

Move the redundant sync handling interface and wait for a completion in the lightnvm core instead.

Hans Holmberg committed 7 years ago

Commit 98d87f71 parent 556f36e3 files · +29 −37Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/lightnvm.h+0−2
@@ -89,7 +89,6 @@ typedef int (nvm_op_set_bb_fn)(struct nvm_dev *, struct ppa_addr *, int, int); · 88 unmodified lines
89typedef int (nvm_get_chk_meta_fn)(struct nvm_dev *, sector_t, int,89typedef int (nvm_get_chk_meta_fn)(struct nvm_dev *, sector_t, int,
90 struct nvm_chk_meta *);90 struct nvm_chk_meta *);
91typedef int (nvm_submit_io_fn)(struct nvm_dev *, struct nvm_rq *);91typedef int (nvm_submit_io_fn)(struct nvm_dev *, struct nvm_rq *);
92typedef int (nvm_submit_io_sync_fn)(struct nvm_dev *, struct nvm_rq *);
93typedef void *(nvm_create_dma_pool_fn)(struct nvm_dev *, char *, int);92typedef void *(nvm_create_dma_pool_fn)(struct nvm_dev *, char *, int);
94typedef void (nvm_destroy_dma_pool_fn)(void *);93typedef void (nvm_destroy_dma_pool_fn)(void *);
95typedef void *(nvm_dev_dma_alloc_fn)(struct nvm_dev *, void *, gfp_t,94typedef 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;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t