<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/md, 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>2010-07-13T08:55:52Z</updated>
<entry>
<title>MFC r209743:</title>
<updated>2010-07-13T08:55:52Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2010-07-13T08:55:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c020255075bb7323545513744326d2ed3325015b'/>
<id>urn:sha1:c020255075bb7323545513744326d2ed3325015b</id>
<content type='text'>
Calculate nshift only once.
</content>
</entry>
<entry>
<title>MFC 189696,189697:</title>
<updated>2010-01-21T14:33:18Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2010-01-21T14:33:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5aa59907190a7e3c598fa247773a0037cddabdaa'/>
<id>urn:sha1:5aa59907190a7e3c598fa247773a0037cddabdaa</id>
<content type='text'>
Add a new internal mount flag (MNTK_EXTENDED_SHARED) to indicate that a
filesystem supports additional operations using shared vnode locks.
Currently this is used to enable shared locks for open() and close() of
read-only file descriptors.
- When an ISOPEN namei() request is performed with LOCKSHARED, use a
  shared vnode lock for the leaf vnode only if the mount point has the
  extended shared flag set.
- Set LOCKSHARED in vn_open_cred() for requests that specify O_RDONLY but
  not O_CREAT.
- Use a shared vnode lock around VOP_CLOSE() if the file was opened with
  O_RDONLY and the mountpoint has the extended shared flag set.
- Adjust md(4) to upgrade the vnode lock on the vnode it gets back from
  vn_open() since it now may only have a shared vnode lock.
- Don't enable shared vnode locks on FIFO vnodes in ZFS and UFS since
  FIFO's require exclusive vnode locks for their open() and close()
  routines.  (My recent MPSAFE patches for UDF and cd9660 already included
  this change.)
- Enable extended shared operations on UFS, cd9660, and UDF.
</content>
</entry>
<entry>
<title>MFC r1.174:</title>
<updated>2008-03-02T11:33:54Z</updated>
<author>
<name>Philip Paeps</name>
<email>philip@FreeBSD.org</email>
</author>
<published>2008-03-02T11:33:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=613a7cc49c7855eb89db418770e80502384ad375'/>
<id>urn:sha1:613a7cc49c7855eb89db418770e80502384ad375</id>
<content type='text'>
    Zero sc-&gt;vnode if mdsetcred() fails.

    This fixes the panic which happens when mdcreate_vnode() calls vn_close()
    and mddestroy() calls it again further down the error handling path.
</content>
</entry>
<entry>
<title>Commit 14/14 of sched_lock decomposition.</title>
<updated>2007-06-05T00:00:57Z</updated>
<author>
<name>Jeff Roberson</name>
<email>jeff@FreeBSD.org</email>
</author>
<published>2007-06-05T00:00:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=982d11f836278f1e95ae1ae398aa4d1d07a19006'/>
<id>urn:sha1:982d11f836278f1e95ae1ae398aa4d1d07a19006</id>
<content type='text'>
 - Use thread_lock() rather than sched_lock for per-thread scheduling
   sychronization.
 - Use the per-process spinlock rather than the sched_lock for per-process
   scheduling synchronization.

Tested by:      kris, current@
Tested on:      i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc.
Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each)
</content>
</entry>
<entry>
<title>Revert UF_OPENING workaround for CURRENT.</title>
<updated>2007-05-31T11:51:53Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2007-05-31T11:51:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9e223287c05be2947379d5b6fdf4c8f8882b38f5'/>
<id>urn:sha1:9e223287c05be2947379d5b6fdf4c8f8882b38f5</id>
<content type='text'>
Change the VOP_OPEN(), vn_open() vnode operation and d_fdopen() cdev operation
argument from being file descriptor index into the pointer to struct file.

Proposed and reviewed by:	jhb
Reviewed by:	daichi (unionfs)
Approved by:	re (kensmith)
</content>
</entry>
<entry>
<title>Resolve two deadlocks that could be caused by busy md device backed</title>
<updated>2006-12-14T11:34:07Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2006-12-14T11:34:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3b7b5496a76fcbe068a95ab9b295d72e6cc26539'/>
<id>urn:sha1:3b7b5496a76fcbe068a95ab9b295d72e6cc26539</id>
<content type='text'>
by vnode. Allow for md thread and the thread that owns lock on vnode
backing the md device to do the write even when runningbufspace is
exhausted.

Tested by:	Peter Holm
Reviewed by:	tegge
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Style nits.</title>
<updated>2006-11-01T18:59:06Z</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2006-11-01T18:59:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a777323904c3bfdba8be27e4744dfc85fb2a32bf'/>
<id>urn:sha1:a777323904c3bfdba8be27e4744dfc85fb2a32bf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix md(4) panic which occurs when I/O request different than</title>
<updated>2006-11-01T18:56:18Z</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2006-11-01T18:56:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5541f25ec790e943650784aca75aaa71e2f59e8c'/>
<id>urn:sha1:5541f25ec790e943650784aca75aaa71e2f59e8c</id>
<content type='text'>
BIO_READ/BIO_WRITE is sent to vnode-backed provider (BIO_DELETE or
BIO_FLUSH).

Reported by:	ceri

Add support for BIO_FLUSH to vnode-backed md(4) devices based on
VOP_FSYNC().
</content>
</entry>
<entry>
<title>- Conditionally acquire Giant in mdstart_vnode(), mdcreate_vnode(), and</title>
<updated>2006-03-28T21:25:11Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2006-03-28T21:25:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a08d2e7fe13eb431f4a655abe4f0282b36c4625e'/>
<id>urn:sha1:a08d2e7fe13eb431f4a655abe4f0282b36c4625e</id>
<content type='text'>
  mddestroy() only if the file is from a non-MPSAFE VFS.
- No longer unconditionally hold Giant in the md kthread for vnode-backed
  kthreads.
- Improve the handling of the thread exit race when destroying an md
  device.
</content>
</entry>
<entry>
<title>Teach md(4) and mdconfig(8) how to understand XML. Right now there won't be</title>
<updated>2006-03-26T23:21:11Z</updated>
<author>
<name>Wojciech A. Koszek</name>
<email>wkoszek@FreeBSD.org</email>
</author>
<published>2006-03-26T23:21:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c27a89543317fff77f5fde1423b4c7053303075e'/>
<id>urn:sha1:c27a89543317fff77f5fde1423b4c7053303075e</id>
<content type='text'>
a problem with listing large number of md(4) devices. Either 'list' or
'query' mode uses XML.

Additionally, new functionality was introduced. It's possible to pass
multiple devices to -u:

	# ./mdconfig -l -u md0,md1

Approved by:	cognet (mentor)
</content>
</entry>
</feed>
