the bitrig master branch has been updated by pedro with 1 new commit:

commit d6b7ee487cd9f1342ddc5e83e8dba767b4a0ca1d
diff: https://github.com/bitrig/bitrig/commit/d6b7ee4
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);

ok patrick@

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