<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/gnu, branch stable/7</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F7</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F7'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2015-10-26T03:48:38Z</updated>
<entry>
<title>MFC r287698: Fixing a memory leak on module unloading.</title>
<updated>2015-10-26T03:48:38Z</updated>
<author>
<name>Tai-hwa Liang</name>
<email>avatar@FreeBSD.org</email>
</author>
<published>2015-10-26T03:48:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=dc76a52be4d56ffb594941633dcfeae4e975c8f7'/>
<id>urn:sha1:dc76a52be4d56ffb594941633dcfeae4e975c8f7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MFC r238980:</title>
<updated>2015-10-24T19:40:27Z</updated>
<author>
<name>Tai-hwa Liang</name>
<email>avatar@FreeBSD.org</email>
</author>
<published>2015-10-24T19:40:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=323699b1bfa0fcfa5bbdb20fcd35334c813bac58'/>
<id>urn:sha1:323699b1bfa0fcfa5bbdb20fcd35334c813bac58</id>
<content type='text'>
  Just like the other file systems found in /sys/fs, g_vfs_open()
should be paried with g_vfs_close().  Though g_vfs_close() is a wrapper
around g_wither_geom_close(), r206130 added the following test in
g_vfs_open():

	if (bo-&gt;bo_private != vp)
		return (EBUSY);

  Which will cause a 'Device busy' error inside reiserfs_mountfs() if
the same file system is re-mounted again after umount or mounting failure:

	(case 1, /dev/ad4s3 is not a valid REISERFS partition)
	# mount -t reiserfs -o ro /dev/ad4s3 /mnt
	mount: /dev/ad4s3: Invalid argument
	# mount -t msdosfs -o ro /dev/ad4s3 /mnt
	mount: /dev/ad4s3: Device busy

	(case 2, /dev/ad4s3 is a valid REISERFS partition)
	# mount -t reiserfs -o ro /dev/ad4s3 /mnt
	# umount /mnt
	# mount -t reiserfs -o ro /dev/ad4s3 /mnt
	mount: /dev/ad4s3: Device busy

  On the other hand, g_vfs_close() 'fixed' the above cases by doing an
extra step to keep 'sc-&gt;sc_bo-&gt;bo_private' and 'cp-&gt;private' pointers
synchronised.

Reviewed by:	kib
</content>
</entry>
<entry>
<title>MFC r286888: Using consistent coding style to deal with error inside the loop.</title>
<updated>2015-10-07T09:41:17Z</updated>
<author>
<name>Tai-hwa Liang</name>
<email>avatar@FreeBSD.org</email>
</author>
<published>2015-10-07T09:41:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0f57b94412776b8f65c4db7c262b694a8c0c7800'/>
<id>urn:sha1:0f57b94412776b8f65c4db7c262b694a8c0c7800</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MFC 217702:</title>
<updated>2011-01-28T20:22:03Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2011-01-28T20:22:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f523c3f58d55c73c018af0a2ab61418c2dd10254'/>
<id>urn:sha1:f523c3f58d55c73c018af0a2ab61418c2dd10254</id>
<content type='text'>
Restore support for the 'async' and 'sync' mount options lost when
switching to nmount(2).  While here, sort the options.
</content>
</entry>
<entry>
<title>MFC: Use VN_LOCK_AREC() and VN_LOCK_ASHARE() rather than manipulating</title>
<updated>2010-08-20T20:33:13Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2010-08-20T20:33:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b7d4d7c225df79dca31ad15d5137dce8b7af3287'/>
<id>urn:sha1:b7d4d7c225df79dca31ad15d5137dce8b7af3287</id>
<content type='text'>
lockmgr lock flags directly.
</content>
</entry>
<entry>
<title>MFC r198940:</title>
<updated>2010-04-07T15:33:19Z</updated>
<author>
<name>Jaakko Heinonen</name>
<email>jh@FreeBSD.org</email>
</author>
<published>2010-04-07T15:33:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=70a783d38a61539a778957bb6503ed5b1011a571'/>
<id>urn:sha1:70a783d38a61539a778957bb6503ed5b1011a571</id>
<content type='text'>
File flags handling fixes for ext2fs:

- Disallow setting of flags not supported by ext2fs.
- Map EXT2_APPEND_FL to SF_APPEND.
- Map EXT2_IMMUTABLE_FL to SF_IMMUTABLE.
- Map EXT2_NODUMP_FL to UF_NODUMP.

Note that ext2fs doesn't support user settable append and immutable flags.
EXT2_NODUMP_FL is an user settable flag also on Linux.

PR:		kern/122047
</content>
</entry>
<entry>
<title>MFC r193923:</title>
<updated>2009-06-24T09:54:05Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2009-06-24T09:54:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0a0696c5a38d4ab6b6d6d9b37073dc76bde87168'/>
<id>urn:sha1:0a0696c5a38d4ab6b6d6d9b37073dc76bde87168</id>
<content type='text'>
s/a_fdidx/a_fp/ for VOP_OPEN comments that inline struct vop_open_args
definition.

MFC r193924:
Fix r193923 by noting that type of a_fp is struct file *, not int.
</content>
</entry>
<entry>
<title>MFC r194296:</title>
<updated>2009-06-23T10:59:59Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2009-06-23T10:59:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=72debd9b5f1638aa4f1294edb76e31a991eb9c6b'/>
<id>urn:sha1:72debd9b5f1638aa4f1294edb76e31a991eb9c6b</id>
<content type='text'>
Do not use casts (int *)0 and (struct thread *)0 for the arguments of
vn_rdwr, use NULL.
</content>
</entry>
<entry>
<title>- MFC r187395-187397,193377,193382,193390,193628.</title>
<updated>2009-06-19T16:27:41Z</updated>
<author>
<name>Stanislav Sedov</name>
<email>stas@FreeBSD.org</email>
</author>
<published>2009-06-19T16:27:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=05590a12f9df07855d3ceda9d1827e4af0c6bbf7'/>
<id>urn:sha1:05590a12f9df07855d3ceda9d1827e4af0c6bbf7</id>
<content type='text'>
  Add support for inode sizes other than 128 bytes.
  Cleanup.
</content>
</entry>
<entry>
<title>MFC r189878:</title>
<updated>2009-05-05T10:34:43Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2009-05-05T10:34:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a899912cb6771bc7eed8b56ab93f164212bcd74d'/>
<id>urn:sha1:a899912cb6771bc7eed8b56ab93f164212bcd74d</id>
<content type='text'>
Fix two issues with bufdaemon, often causing the processes to hang in
the "nbufkv" sleep.

Do not retry request for the new block from ffs_bufwrite() when write is done
from bufdaemon and there is a buffer shortage.

In getnewbuf(), help bufdaemon to flush dirty buffers owned by the vnode
locked by curthread.

For MFC, default value for sysctl vfs.flushbufqtarget is set to -1,
disabling the helpers. The TDP_BUFNEED flag value from HEAD conflicts
with TDP_UPCALLING KSE bit, so it is moved to the end of allocated bits.
</content>
</entry>
</feed>
