<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/include/linux/dnotify.h, branch v4.2.4</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.2.4</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.2.4'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2010-07-28T13:59:01Z</updated>
<entry>
<title>dnotify: move dir_notify_enable declaration</title>
<updated>2010-07-28T13:59:01Z</updated>
<author>
<name>Alexey Dobriyan</name>
<email>adobriyan@gmail.com</email>
</author>
<published>2010-01-20T20:27:56Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=6e006701ccc1590500186ef21e074bd900c5dd67'/>
<id>urn:sha1:6e006701ccc1590500186ef21e074bd900c5dd67</id>
<content type='text'>
Move dir_notify_enable declaration to where it belongs -- dnotify.h .

Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Signed-off-by: Eric Paris &lt;eparis@redhat.com&gt;
</content>
</entry>
<entry>
<title>dnotify: reimplement dnotify using fsnotify</title>
<updated>2009-06-11T18:57:53Z</updated>
<author>
<name>Eric Paris</name>
<email>eparis@redhat.com</email>
</author>
<published>2009-05-21T21:01:33Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=3c5119c05d624f95f4967d16b38c9624b816bdb9'/>
<id>urn:sha1:3c5119c05d624f95f4967d16b38c9624b816bdb9</id>
<content type='text'>
Reimplement dnotify using fsnotify.

Signed-off-by: Eric Paris &lt;eparis@redhat.com&gt;
Acked-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Cc: Christoph Hellwig &lt;hch@lst.de&gt;
</content>
</entry>
<entry>
<title>Don't include linux/config.h from anywhere else in include/</title>
<updated>2006-04-26T11:56:16Z</updated>
<author>
<name>David Woodhouse</name>
<email>dwmw2@infradead.org</email>
</author>
<published>2006-04-26T11:56:16Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=62c4f0a2d5a188f73a94f2cb8ea0dba3e7cf0a7f'/>
<id>urn:sha1:62c4f0a2d5a188f73a94f2cb8ea0dba3e7cf0a7f</id>
<content type='text'>
Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] make dnotify a configure-time option</title>
<updated>2004-10-29T06:27:45Z</updated>
<author>
<name>Robert Love</name>
<email>rml@novell.com</email>
</author>
<published>2004-10-29T06:27:45Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=8de0e8bca3f16efd75684a1b7cc287dcd6ac3b8f'/>
<id>urn:sha1:8de0e8bca3f16efd75684a1b7cc287dcd6ac3b8f</id>
<content type='text'>
make dnotify configurable, via CONFIG_DNOTIFY.  CONFIG_EMBEDDED is required
for disabling dnotify.

Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] remove dparent_lock</title>
<updated>2003-04-03T00:28:58Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@digeo.com</email>
</author>
<published>2003-04-03T00:28:58Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=723c6e83134f78035b93cb3e70503ad4d04a7dfa'/>
<id>urn:sha1:723c6e83134f78035b93cb3e70503ad4d04a7dfa</id>
<content type='text'>
The big SMP machines are seeing quite some contention in dnotify_parent()
(via vfs_write).  This function is hammering the global dparent_lock.

However we don't actually need a global dparent_lock for pinning down
dentry-&gt;d_parent.  We can use dentry-&gt;d_lock for this.  That is already being
held across d_move.

This patch speeds up SDET on the 16-way by 5% and wipes dnotify_parent() off
the profiles.

It also uninlines dnofity_parent().

It also uses spin_lock(), which is faster than read_lock().

I'm not sure that we need to take both the source and target dentry's d_lock
in d_move.

The patch also does lots of s/__inline__/inline/ in dcache.h
</content>
</entry>
<entry>
<title>[PATCH] Directory Notification Fix</title>
<updated>2002-05-09T05:03:28Z</updated>
<author>
<name>Stephen Rothwell</name>
<email>sfr@canb.auug.org.au</email>
</author>
<published>2002-05-09T05:03:28Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=4c91e0087a34139fe37530a0d711907248c108ff'/>
<id>urn:sha1:4c91e0087a34139fe37530a0d711907248c108ff</id>
<content type='text'>
This patch fixes directory notification so that notifications get
cancelled when a process exits.  This make dnotify MUCH more stable and
usable :-)
</content>
</entry>
<entry>
<title>[PATCH] dnotify</title>
<updated>2002-03-12T04:47:35Z</updated>
<author>
<name>Stephen Rothwell</name>
<email>sfr@canb.auug.org.au</email>
</author>
<published>2002-03-12T04:47:35Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=d7d3ae66500056c821c1e183b64bc388348f8e2d'/>
<id>urn:sha1:d7d3ae66500056c821c1e183b64bc388348f8e2d</id>
<content type='text'>
The following patch makes directory notifications per thread group instead
of per process tree as they are now.  This means, in particular, that if
a child closes a file descriptor that has a directory open with notifies
enabled, the notification will not be removed.

Thanks to Andrea for the push in the right direction.
</content>
</entry>
<entry>
<title>[PATCH] -&gt;d_parent fixes</title>
<updated>2002-02-25T06:07:54Z</updated>
<author>
<name>Alexander Viro</name>
<email>viro@math.psu.edu</email>
</author>
<published>2002-02-25T06:07:54Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=5e37545cf526580b165d3805652f241324a850ac'/>
<id>urn:sha1:5e37545cf526580b165d3805652f241324a850ac</id>
<content type='text'>
Protect d_parent with "dparent_lock", making ready to get rid of
BKL for d_move().
</content>
</entry>
<entry>
<title>[PATCH] dnotify race fix</title>
<updated>2002-02-18T00:35:06Z</updated>
<author>
<name>Alexander Viro</name>
<email>viro@math.psu.edu</email>
</author>
<published>2002-02-18T00:35:06Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=222099f6c32004454f8c44ade53135adc2e1b179'/>
<id>urn:sha1:222099f6c32004454f8c44ade53135adc2e1b179</id>
<content type='text'>
	A bunch of places dereferences -&gt;d_parent-&gt;d_inode with no
protection whatsoever (e.g. on return from read()).  It's an
SMP race on all boxen and pretty wide UP race if we have dnotify
set on parent (race between read() and rename() and similar beasts).

	Patch below is the first one in a series of -&gt;d_parent-related
fixes.  It adds a helper (dnotify_parent(dentry, event)) and converts
places that did inode_dir_notify(dentry-&gt;d_parent-&gt;d_inode,...) to it.

	Please, apply.  Notice that problem exists in 2.4 and unlike 2.5
there we can't switch to saner API (basically, reporting file events on
file, not on a parent directory).

Some of the further fixes depend on Pat's and Greg's (driverfs and usbdevfs
resp.) patches, so getting them merged would make life easier.  And yes,
some of further chunks (e.g. smbfs -&gt;revalidate() and friends) will also
have to go into 2.4 - they are independent from any threading projects ;-/
</content>
</entry>
<entry>
<title>v2.5.2.2 -&gt; v2.5.2.3</title>
<updated>2002-02-05T08:16:39Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@athlon.transmeta.com</email>
</author>
<published>2002-02-05T08:16:39Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=463727d199b089c420e750d43f75ea9403a45e12'/>
<id>urn:sha1:463727d199b089c420e750d43f75ea9403a45e12</id>
<content type='text'>
- Al Viro: VFS inode allocation moved down to filesystem, trim inodes
- Greg KH: USB update, hotplug documentation
- Kai Germaschewski: ISDN update
- Ingo Molnar: scheduler tweaking ("J2")
- Arnaldo: emu10k kdev_t updates
- Ben Collins: firewire updates
- Björn Wesen: cris arch update
- Hal Duston: ps2esdi driver bio/kdev_t fixes
- Jean Tourrilhes: move wireless drivers into drivers/net/wireless,
update wireless API #1
- Richard Gooch: devfs race fix
- OGAWA Hirofumi: FATFS update
</content>
</entry>
</feed>
