Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/kern



On Dec 29, 2012, at 10:56 PM, Christos Zoulas <christos%netbsd.org@localhost> 
wrote:

> Always call brelse() on error. Otherwise a possible error from bread() will
> cause the buffer to stay lock and we end up blocking forever in
> VOP_CLOSE->spec_close->vinvalbuf->bbysy since the buffer is marked busy
> but there is no I/O pending.
> This caused my laptop to hang on boot_findwedge because:
>    findroot: unable to read block 358331527 of dev dk0 (22)

Thanks.  Just applied the same to breadn().

--
J. Hannken-Illjes - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig 
(Germany)



Home | Main Index | Thread Index | Old Index