Jeff Roberson
420239c773
- Lock Giant if needed around the call to vnode_create_vobject(). This is
...
only important if devfs is not mpsafe.
Sponsored by: Isilon Systems, Inc.
Found by: kris
2006-03-02 05:37:44 +00:00
Poul-Henning Kamp
dfd4be14bd
Try to unbreak the vnode locking around vop_reclaim() (based mostly on
...
patch from kan@).
Pull bufobj_invalbuf() out of vinvalbuf() and make g_vfs call it on
close. This is not yet a generally safe function, but for this very
specific use it is safe. This solves the problem with buffers not
being flushed by unmount or after failed mount attempts.
2005-02-19 11:44:57 +00:00
Poul-Henning Kamp
07e95ed633
Make various random things static
2005-02-10 12:10:35 +00:00
Jeff Roberson
1907e62037
- If mpsafevfs is off, acquire giant around all calls to bufdone().
...
Sponsored by: Isilon Systems, Inc.
2005-01-28 16:04:44 +00:00
Poul-Henning Kamp
84a6975215
Introduce and use g_vfs_close().
2005-01-25 15:52:04 +00:00
Poul-Henning Kamp
bc0fc6fcc3
Create a correctly sized vnode objects for disk devices.
2005-01-24 22:41:21 +00:00
Jeff Roberson
e9f3e3f8ca
- Don't acquire giant around calls to bufdone().
...
Sponsored By: Isilon Systems, Inc.
2005-01-24 10:47:46 +00:00
Poul-Henning Kamp
6ef8480a88
Add BO_SYNC() and add a default which uses the secret vnode pointer
...
and VOP_FSYNC() for now.
2005-01-11 10:43:08 +00:00
Poul-Henning Kamp
f9eeb89522
Finish cut&paste adjustments.
...
Spotted by: tegge
2004-11-04 07:17:08 +00:00
Poul-Henning Kamp
4d13ab3da2
Add GEOM class "VFS" for filesystems and other buffer cache users
...
of GEOM devices.
There is nothing magic about this, it just gives a bufobj interface
to GEOM.
2004-10-29 09:56:56 +00:00