<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/afs/file.c, branch linux-2.6.28.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-10-16T18:21:48Z</updated>
<entry>
<title>afs: convert to new aops</title>
<updated>2008-10-16T18:21:48Z</updated>
<author>
<name>Nick Piggin</name>
</author>
<published>2008-10-16T05:04:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=15b4650e55e06d2cc05115767551cd3ace875431'/>
<id>urn:sha1:15b4650e55e06d2cc05115767551cd3ace875431</id>
<content type='text'>
Cannot assume writes will fully complete, so this conversion goes the easy
way and always brings the page uptodate before the write.

[dhowells@redhat.com: style tweaks]
Signed-off-by: Nick Piggin &lt;npiggin@suse.de&gt;
Acked-by: David Howells &lt;dhowells@redhat.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>AFS: implement file locking</title>
<updated>2007-07-16T16:05:43Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2007-07-16T06:40:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e8d6c554126b830217c5e9f549e0e21f865a0a8a'/>
<id>urn:sha1:e8d6c554126b830217c5e9f549e0e21f865a0a8a</id>
<content type='text'>
Implement file locking for AFS.

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>sendfile: remove .sendfile from filesystems that use generic_file_sendfile()</title>
<updated>2007-07-10T06:04:13Z</updated>
<author>
<name>Jens Axboe</name>
</author>
<published>2007-06-01T09:49:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5ffc4ef45b3b0a57872f631b4e4ceb8ace0d7496'/>
<id>urn:sha1:5ffc4ef45b3b0a57872f631b4e4ceb8ace0d7496</id>
<content type='text'>
They can use generic_file_splice_read() instead. Since sys_sendfile() now
prefers that, there should be no change in behaviour.

Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>AFS: fix a couple of problems with unlinking AFS files</title>
<updated>2007-05-11T15:29:32Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2007-05-11T05:22:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0f300ca9284caabdd2c07c7f91b90f1f530f614e'/>
<id>urn:sha1:0f300ca9284caabdd2c07c7f91b90f1f530f614e</id>
<content type='text'>
Fix a couple of problems with unlinking AFS files.

 (1) The parent directory wasn't being updated properly between unlink() and
     the following lookup().

     It seems that, for some reason, invalidate_remote_inode() wasn't
     discarding the directory contents correctly, so this patch calls
     invalidate_inode_pages2() instead on non-regular files.

 (2) afs_vnode_deleted_remotely() should handle vnodes that don't have a
     source server recorded without oopsing.

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>AFS: implement basic file write support</title>
<updated>2007-05-09T19:30:50Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2007-05-09T09:33:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=31143d5d515ece617ffccb7df5ff75e4d1dfa120'/>
<id>urn:sha1:31143d5d515ece617ffccb7df5ff75e4d1dfa120</id>
<content type='text'>
Implement support for writing to regular AFS files, including:

 (1) write

 (2) truncate

 (3) fsync, fdatasync

 (4) chmod, chown, chgrp, utime.

AFS writeback attempts to batch writes into as chunks as large as it can manage
up to the point that it writes back 65535 pages in one chunk or it meets a
locked page.

Furthermore, if a page has been written to using a particular key, then should
another write to that page use some other key, the first write will be flushed
before the second is allowed to take place.  If the first write fails due to a
security error, then the page will be scrapped and reread before the second
write takes place.

If a page is dirty and the callback on it is broken by the server, then the
dirty data is not discarded (same behaviour as NFS).

Shared-writable mappings are not supported by this patch.

[akpm@linux-foundation.org: fix a bunch of warnings]
Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>AFS: AFS fixups</title>
<updated>2007-05-09T19:30:50Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2007-05-09T09:33:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=416351f28d2b31d15ff73e9aff699b2163704c95'/>
<id>urn:sha1:416351f28d2b31d15ff73e9aff699b2163704c95</id>
<content type='text'>
Make some miscellaneous changes to the AFS filesystem:

 (1) Assert RCU barriers on module exit to make sure RCU has finished with
     callbacks in this module.

 (2) Correctly handle the AFS server returning a zero-length read.

 (3) Split out data zapping calls into one function (afs_zap_data).

 (4) Rename some afs_file_*() functions to afs_*() where they apply to
     non-regular files too.

 (5) Be consistent about the presentation of volume ID:vnode ID in debugging
     output.

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>[AFS]: Add "directory write" support.</title>
<updated>2007-04-26T22:59:35Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2007-04-26T22:59:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=260a980317dac80182dd76140cf67c6e81d6d3dd'/>
<id>urn:sha1:260a980317dac80182dd76140cf67c6e81d6d3dd</id>
<content type='text'>
Add support for the create, link, symlink, unlink, mkdir, rmdir and
rename VFS operations to the in-kernel AFS filesystem.

Also:

 (1) Fix dentry and inode revalidation.  d_revalidate should only look at
     state of the dentry.  Revalidation of the contents of an inode pointed to
     by a dentry is now separate.

 (2) Fix afs_lookup() to hash negative dentries as well as positive ones.

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[AFS]: Add security support.</title>
<updated>2007-04-26T22:57:07Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2007-04-26T22:57:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=00d3b7a4533e367b0dc2812a706db8f9f071c27f'/>
<id>urn:sha1:00d3b7a4533e367b0dc2812a706db8f9f071c27f</id>
<content type='text'>
Add security support to the AFS filesystem.  Kerberos IV tickets are added as
RxRPC keys are added to the session keyring with the klog program.  open() and
other VFS operations then find this ticket with request_key() and either use
it immediately (eg: mkdir, unlink) or attach it to a file descriptor (open).

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[AF_RXRPC]: Make the in-kernel AFS filesystem use AF_RXRPC.</title>
<updated>2007-04-26T22:55:03Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2007-04-26T22:55:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=08e0e7c82eeadec6f4871a386b86bf0f0fbcb4eb'/>
<id>urn:sha1:08e0e7c82eeadec6f4871a386b86bf0f0fbcb4eb</id>
<content type='text'>
Make the in-kernel AFS filesystem use AF_RXRPC instead of the old RxRPC code.

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[AFS]: Clean up the AFS sources</title>
<updated>2007-04-26T22:49:28Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2007-04-26T22:49:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ec26815ad847dbf74a1e27aa5515fb7d5dc6ee6f'/>
<id>urn:sha1:ec26815ad847dbf74a1e27aa5515fb7d5dc6ee6f</id>
<content type='text'>
Clean up the AFS sources.

Also remove references to AFS keys.  RxRPC keys are used instead.

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
