<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/fs/tmpfs/tmpfs_vfsops.c, branch upstream/11.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=upstream%2F11.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=upstream%2F11.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2015-07-05T22:37:33Z</updated>
<entry>
<title>Check suspendability on the mountpoint returned by VOP_GETWRITEMOUNT.</title>
<updated>2015-07-05T22:37:33Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2015-07-05T22:37:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5f34e93c58c81382a7620bdfa69e47380a9615d4'/>
<id>urn:sha1:5f34e93c58c81382a7620bdfa69e47380a9615d4</id>
<content type='text'>
This obviates the need for a MNTK_SUSPENDABLE flag, since passthrough
filesystems like nullfs and unionfs no longer need to inherit this
information from their lower layer(s). This change also restores the
pre-r273336 behaviour of using the presence of a susp_clean VFS method to
request suspension support.

Reviewed by:	kib, mjg
Differential Revision:	https://reviews.freebsd.org/D2937
</content>
</entry>
<entry>
<title>Update mtime for tmpfs files modified through memory mapping.  Similar</title>
<updated>2015-01-28T10:37:23Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2015-01-28T10:37:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f40cb1c6456a66669f6c75d92435b1c1b951387f'/>
<id>urn:sha1:f40cb1c6456a66669f6c75d92435b1c1b951387f</id>
<content type='text'>
to UFS, perform updates during syncer scans, which in particular means
that tmpfs now performs scan on sync.  Also, this means that a mtime
update may be delayed up to 30 seconds after the write.

The vm_object' OBJ_TMPFS_DIRTY flag for tmpfs swap object is similar
to the OBJ_MIGHTBEDIRTY flag for the vnode object, it indicates that
object could have been dirtied.  Adapt fast page fault handler and
vm_object_set_writeable_dirty() to handle OBJ_TMPFS_NODE same as
OBJT_VNODE.

Reported by:	Ronald Klop &lt;ronald-lists@klop.ws&gt;
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>tmpfs does not use UVM on FreeBSD.</title>
<updated>2015-01-28T10:25:35Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2015-01-28T10:25:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3544b0f68f9a5871da78178d65416aee28b30a01'/>
<id>urn:sha1:3544b0f68f9a5871da78178d65416aee28b30a01</id>
<content type='text'>
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
</content>
</entry>
<entry>
<title>tmpfs: allow shared file lookups</title>
<updated>2014-10-21T21:27:13Z</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2014-10-21T21:27:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=12e2a30ef9c25babdd1b62f9dab204c92d6b448f'/>
<id>urn:sha1:12e2a30ef9c25babdd1b62f9dab204c92d6b448f</id>
<content type='text'>
Tested by: pho
</content>
</entry>
<entry>
<title>Provide vfs suspension support only for filesystems which need it, take</title>
<updated>2014-10-20T18:00:50Z</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2014-10-20T18:00:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4fce16e4c9370d91a8b88d2cb2402f6e83dddee5'/>
<id>urn:sha1:4fce16e4c9370d91a8b88d2cb2402f6e83dddee5</id>
<content type='text'>
two.

nullfs and unionfs need to request suspension if underlying filesystem(s)
use it. Utilize mnt_kern_flag for this purpose.

This is a fixup for 273271.

No strong objections from: kib
Pointy hat to: mjg
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Provide vfs suspension support only for filesystems which need it.</title>
<updated>2014-10-19T06:59:33Z</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2014-10-19T06:59:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=020b8f17a092a1bca30f3ac6627ee98f0fffbc88'/>
<id>urn:sha1:020b8f17a092a1bca30f3ac6627ee98f0fffbc88</id>
<content type='text'>
Need is expressed by providing vfs_susp_clean function in vfsops.

Differential Revision:	D952
Reviewed by:	kib (previous version)
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Rework the tmpfs unmount.</title>
<updated>2014-07-14T09:52:33Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2014-07-14T09:52:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4cda7f7ece550838ca4ee008f3c4fb83a9f96931'/>
<id>urn:sha1:4cda7f7ece550838ca4ee008f3c4fb83a9f96931</id>
<content type='text'>
- Suspend filesystem for unmount.  This prevents new tmpfs nodes from
  instantiating, and also ensures that only unmount thread can destroy
  nodes.

- Do not start tmpfs node deletion until all vnodes are reclaimed,
  which guarantees that no thread can access tmpfs data.  For this,
  call vflush() in the loop, until the mnt_nvnodelistsize is non-zero.
  Note that after mnt_nvnodelistsize becomes 0, insmntque() blocks
  insertion of a vnode germ into the mount list of vnodes.

- Fail node allocation when the filesystem is being unmounted.  This
  is race-free due to the vflush() call in loop.  This is mostly
  cosmetic, avoiding some more work which might be done until
  suspension in unmount is started.

Note that there is currently no way to prevent new vnode instantiation
from readers during the unmount.  Due to this, forced unmount might
live-lock if vflush() loop cannot get to the zero vnode count due to
races with readers.  The unmount would proceed after the load is
lifted.

Tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Remove code separator lines which do not conform to style(9).</title>
<updated>2014-07-14T08:17:11Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2014-07-14T08:17:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fca015d30184282217d50d29f5c3d906ea726b0d'/>
<id>urn:sha1:fca015d30184282217d50d29f5c3d906ea726b0d</id>
<content type='text'>
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Fix -o size less than PAGE_SIZE resulting in SIZE_MAX being used.</title>
<updated>2014-03-14T01:43:55Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2014-03-14T01:43:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0742ebc98f6eee1a744399fd3164a607b40319a1'/>
<id>urn:sha1:0742ebc98f6eee1a744399fd3164a607b40319a1</id>
<content type='text'>
Discussed with:	kib
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Allow tmpfs be mounted inside jail.</title>
<updated>2013-08-23T22:52:20Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2013-08-23T22:52:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2454886e05555864beacee66217ec0b8b361a943'/>
<id>urn:sha1:2454886e05555864beacee66217ec0b8b361a943</id>
<content type='text'>
</content>
</entry>
</feed>
