md /tmp and async mounts

Kris Kennaway kris at obsecurity.org
Thu Jun 1 21:07:07 UTC 2006


On Thu, Jun 01, 2006 at 03:20:24AM +0300, Giorgos Keramidas wrote:

[diff snipped]

Thanks for the patch.

> This doesn't make 'async' the default for all mdmfs mounts.
> 
> Making async the default for mdmfs-based filesystems would
> require a fair bit of changes to mdmfs, which would have to grow
> mount-option parsing capabilities for the `optarg' of the -o
> option and make sure that async is always added, unless mdmfs is
> called explicitly with `noasync' in its -o option.
> 
> Having said this, if this is considered a change we should make,
> I can prepare a patch for mdmfs too.

I think it should be the default.  I think we should also avoid using
-M (malloc backing for md) in favour of swap backing because of the
panic problems - this is too easy to trigger by accident and it makes
FreeBSD look bad since it looks like a bug.

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/20060601/2504d854/attachment.pgp


More information about the freebsd-current mailing list