the bitrig pedro_bufq_wait branch has been created by pedro.

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

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

call bufq_wait() from the strategy routines

have drivers using bufq, i.e calling bufq_enqueue() 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().

the intuitive next step would be to have these same drivers call
bufq_done() before biodone(), allowing us to remove b_bq from struct buf
and to have everything handled by the drivers.

XXX work in progress

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