kernel -- ffs: Softdep lock and assorted fixes
authorVenkatesh Srinivas <me@endeavour.zapto.org>
Mon, 7 May 2012 15:28:48 +0000 (08:28 -0700)
committerVenkatesh Srinivas <me@endeavour.zapto.org>
Thu, 16 Aug 2012 01:49:29 +0000 (18:49 -0700)
commit091cd5fc55acc746c572109574cac55c72e27d6f
tree295e5f1e3691c9c3af0aa3ad044a6bd15e4b2722
parent8069a05927276f30756e2c317a2ff24a1bbaedb4
kernel -- ffs: Softdep lock and assorted fixes

* Remove interlocked_sleep; we can just use lksleep directly

* sema_get no longer eats the interlock passed in; all of its
  callers were retaking the lock eventually or immediately.

* softdep was setting up a callout to wake itself in request_cleanup.
  Switch to directly using timeout in lksleep for this purpose.

* Do not access inodedep structure outside of softdep lock in
  softdep_update_inodeblock for buffer field.

* Remove prio field from semaphores; they were unused and the DFly
  tsleep routines do not respect priority anyway.

* Do not release softdep lock before panic()ing
sys/vfs/ufs/ffs_softdep.c