diff options
author | Israel Rukshin <[email protected]> | 2019-10-13 19:57:33 +0300 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2019-11-04 10:56:40 -0700 |
commit | e522f446027845e3c8b563d021f37e8f3d30c9d9 (patch) | |
tree | b57f8130a283df55e0a775d49dccb0eee7f56c23 /net/switchdev/switchdev.c | |
parent | 4d764bb9a92bc63afc3befe36a0bedfddff1398a (diff) |
nvmet: add unlikely check at nvmet_req_alloc_sgl
The call to sgl_alloc shouldn't fail so add this simple optimization to
the fast path.
Signed-off-by: Israel Rukshin <[email protected]>
Reviewed-by: Max Gurtovoy <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions