engines/io_uring: don't mess with non power-of-2 queue depth

io_uring needs the rings to be a power-of-2 in sizing, but it does not
need to be messing with the queue depth driven to the device. Rather
than round everything up, only round up the API parts.

Reported-by: Riley Thomasson <riley@purestorage.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 file changed
tree: 7fd969077d48868e518bea16ac63bed34471f423
  1. .github/
  2. arch/
  3. ci/
  4. compiler/
  5. crc/
  6. doc/
  7. engines/
  8. examples/
  9. exp/
  10. lib/
  11. os/
  12. oslib/
  13. profiles/
  14. t/
  15. tools/
  16. unittests/
  17. .gitignore
  18. backend.c
  19. blktrace.c
  20. blktrace.h
  21. blktrace_api.h
  22. cairo_text_helpers.c
  23. cairo_text_helpers.h
  24. cconv.c
  25. cgroup.c
  26. cgroup.h
  27. CITATION.cff
  28. client.c
  29. client.h
  30. configure
  31. COPYING
  32. dataplacement.c
  33. dataplacement.h
  34. debug.c
  35. debug.h
  36. DEDUPE-TODO
  37. dedupe.c
  38. dedupe.h
  39. diskutil.c
  40. diskutil.h
  41. err.h
  42. eta.c
  43. fifo.c
  44. fifo.h
  45. file.h
  46. filehash.c
  47. filehash.h
  48. filelock.c
  49. filelock.h
  50. filesetup.c
  51. FIO-VERSION-GEN
  52. fio.1
  53. fio.c
  54. fio.h
  55. fio_sem.c
  56. fio_sem.h
  57. fio_time.h
  58. flist.h
  59. flow.c
  60. flow.h
  61. gclient.c
  62. gclient.h
  63. gcompat.c
  64. gcompat.h
  65. gerror.c
  66. gerror.h
  67. gettime-thread.c
  68. gettime.c
  69. gettime.h
  70. GFIO-TODO
  71. gfio.c
  72. gfio.h
  73. ghelpers.c
  74. ghelpers.h
  75. goptions.c
  76. goptions.h
  77. graph.c
  78. graph.h
  79. hash.h
  80. helper_thread.c
  81. helper_thread.h
  82. helpers.c
  83. helpers.h
  84. HOWTO.rst
  85. idletime.c
  86. idletime.h
  87. init.c
  88. io_ddir.h
  89. io_u.c
  90. io_u.h
  91. io_u_queue.c
  92. io_u_queue.h
  93. ioengines.c
  94. ioengines.h
  95. iolog.c
  96. iolog.h
  97. json.c
  98. json.h
  99. libfio.c
  100. log.c
  101. log.h
  102. Makefile
  103. memory.c
  104. minmax.h
  105. MORAL-LICENSE
  106. optgroup.c
  107. optgroup.h
  108. options.c
  109. options.h
  110. parse.c
  111. parse.h
  112. printing.c
  113. printing.h
  114. profile.c
  115. profile.h
  116. pshared.c
  117. pshared.h
  118. rate-submit.c
  119. rate-submit.h
  120. README.rst
  121. REPORTING-BUGS
  122. rwlock.c
  123. rwlock.h
  124. SERVER-TODO
  125. server.c
  126. server.h
  127. smalloc.c
  128. smalloc.h
  129. stat.c
  130. stat.h
  131. STEADYSTATE-TODO
  132. steadystate.c
  133. steadystate.h
  134. td_error.c
  135. td_error.h
  136. thread_options.h
  137. tickmarks.c
  138. tickmarks.h
  139. time.c
  140. trim.c
  141. trim.h
  142. verify-state.h
  143. verify.c
  144. verify.h
  145. workqueue.c
  146. workqueue.h
  147. zbd.c
  148. zbd.h
  149. zbd_types.h
  150. zone-dist.c
  151. zone-dist.h