md /tmp and async mounts

Kris Kennaway kris at obsecurity.org
Wed May 24 13:37:54 PDT 2006


On Wed, May 24, 2006 at 11:36:45PM +0300, Giorgos Keramidas wrote:
> On 2006-05-23 15:41, Kris Kennaway <kris at obsecurity.org> wrote:
> > You are confusing mdconfig's -o async mode, used only for vnode
> > backing (not the case here anyway):
> >
> >              [no]async
> >                      For vnode backed devices: avoid IO_SYNC for increased
> >                      performance but at the risk of deadlocking the entire
> >                      kernel.
> >
> > with mount's -o async mode, used at the filesystem layer on any
> > device.  The latter does not have deadlocks.
> 
> Hi Kris,
> 
> so we can safely add async to `tmpmfs_flags' in /etc/defaults/rc.conf?

I think so.  Also whatever else uses mds (diskless booting, ...?)

> If that is so, do you want me to make the change, or do you want to do
> this?

I don't have a good idea of what needs to be changed to do all of the
above, so if you're familiar with the code you might as well do it.

Kris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060524/a6802b4a/attachment.pgp


More information about the freebsd-current mailing list