[Bug 221973] cam iosched: BIO_ZONE commands probably shouldn't use the read queue

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Sep 20 21:13:37 UTC 2017


--- Comment #1 from commit-hook at freebsd.org ---
A commit references this bug:

Author: imp
Date: Wed Sep 20 21:13:21 UTC 2017
New revision: 323828
URL: https://svnweb.freebsd.org/changeset/base/323828

  cam iosched: Use the write queue for BIO_ZONE commands

  Use the write queue for BIO_ZONE commands so they can't get executed
  ahead of writes that were sent after them. More generally, since they
  introduce strong ordering into the list, they need to go to the write
  queue (which is the only queue that BIO_ORDERED is honored for at the
  moment). In fact, fix mismatch between queueing and dequeueing code by
  changing this to queue all non-reads (and non-trims) to the write

  As a side effect this prevents the kernel message:
  kernel: Found bio_cmd = 0x9
  which cam_iosched_next_bio() emits when finding commands
  other than BIO_READ in the read queue.

  PR: 221973
  Obtained from: ElectroBSD
  Submitted by: Fabian Keil
  Differential Revision: https://reviews.freebsd.org/D12353


You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list