the bitrig pedro_bufq_wait branch has been created by pedro.

it is 0 commits behind master, and 1 commit ahead.

commit 54c47f09b4cfaf9dc3b6792d9180938a97841c59
diff: https://github.com/bitrig/bitrig/commit/54c47f0
author: pedro martelletto <[email protected]>
date: Mon Jan 19 14:48:59 2015 +0100

call bufq_wait() from VOP_STRATEGY()

have drivers using bufq, i.e calling bufq_queue() from their strategy
routines, call bufq_wait() from the same function. this fixes 96feb3aa,
which mistakenly assumed b_bq to have been set prior to the VOP_STRATEGY
call in bwrite().

there are two differences in behaviour introduced by this change:

- we no longer bufq_wait() on synchronous writes;
- we also bufq_wait() on asynchronous writes that originate in places
  other than bwrite() (i.e, other VOP_STRATEGY() callers);

M       sys/dev/ata/wd.c
M       sys/kern/kern_bufq.c
M       sys/kern/vfs_bio.c
M       sys/scsi/cd.c
M       sys/scsi/sd.c
M       sys/scsi/st.c
M       sys/sys/buf.h
M       sys/uvm/uvm_swap.c

Reply via email to