diff options
| author | 2011-02-14 15:55:33 -0500 | |
|---|---|---|
| committer | 2011-11-04 15:52:58 -0400 | |
| commit | eeee322647a67c20d9277c5e02c42b2126ea74bc (patch) | |
| tree | 6e0c901136effb10e301a5fb0479389bb6818531 /tools/lib/python | |
| parent | NVMe: Update BAR structure to match the current spec (diff) | |
NVMe: Handle failures differently in nvme_submit_bio_queue()
Return -EBUSY if the queue is full or -ENOMEM if we failed to allocate
memory (or map a scatterlist). Also use GFP_ATOMIC to allocate the
nvme_bio and move the locking to the callers of nvme_submit_bio_queue().
In nvme_make_request(), don't permit an I/O to jump the queue -- if the
congestion list already has an entry, just add to the tail, rather than
trying to submit.
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
