<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/afs/main.c, branch linux-4.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-06-05T14:56:34Z</updated>
<entry>
<title>uuid,afs: move struct uuid_v1 back into afs</title>
<updated>2017-06-05T14:56:34Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2017-05-28T05:56:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=41bb26f8db3ad33b083e57eb9fc5828796110e77'/>
<id>urn:sha1:41bb26f8db3ad33b083e57eb9fc5828796110e77</id>
<content type='text'>
This essentially is a partial revert of commit ff548773
("afs: Move UUID struct to linux/uuid.h") and moves struct uuid_v1 back into
fs/afs as struct afs_uuid.  It however keeps it as big endian structure
so that we can use the normal uuid generation helpers when casting to/from
struct afs_uuid.

The V1 uuid intrepretation in struct form isn't really useful to the
rest of the kernel, and not really compatible to it either, so move it
back to AFS instead of polluting the global uuid.h.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Acked-by: David Howells &lt;dhowells@redhat.com&gt;
</content>
</entry>
<entry>
<title>afs: Use core kernel UUID generation</title>
<updated>2017-02-10T16:34:17Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2017-02-10T16:34:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b4db2b35fc444409daf483006111a2a705550fff'/>
<id>urn:sha1:b4db2b35fc444409daf483006111a2a705550fff</id>
<content type='text'>
AFS uses a time based UUID to identify the host itself.  This requires
getting a timestamp which is currently done through the getnstimeofday()
interface that we want to eventually get rid of.

Instead of replacing it with a ktime-based interface, simply remove the
entire function and use generate_random_uuid() instead, which has a v4
("completely random") UUID instead of the time-based one.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
</content>
</entry>
<entry>
<title>afs: Move UUID struct to linux/uuid.h</title>
<updated>2017-02-10T16:34:17Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2017-02-10T16:34:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ff548773106ec7f8031bc6172e0234bd2a02c19c'/>
<id>urn:sha1:ff548773106ec7f8031bc6172e0234bd2a02c19c</id>
<content type='text'>
Move the afs_uuid struct to linux/uuid.h, rename it to uuid_v1 and change
the u16/u32 fields to __be16/__be32 instead so that the structure can be
cast to a 16-octet network-order buffer.

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Reviewed-by: Arnd Bergmann &lt;arnd@arndb.de
</content>
</entry>
<entry>
<title>afs: Add some tracepoints</title>
<updated>2017-01-09T09:18:13Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2017-01-05T10:38:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8e8d7f13b6d5a93b3d2cf9a4ceaaf923809fd5ac'/>
<id>urn:sha1:8e8d7f13b6d5a93b3d2cf9a4ceaaf923809fd5ac</id>
<content type='text'>
Add three tracepoints to the AFS filesystem:

 (1) The afs_recv_data tracepoint logs data segments that are extracted
     from the data received from the peer through afs_extract_data().

 (2) The afs_notify_call tracepoint logs notification from AF_RXRPC of data
     coming in to an asynchronous call.

 (3) The afs_cb_call tracepoint logs incoming calls that have had their
     operation ID extracted and mapped into a supported cache manager
     service call.

To make (3) work, the name strings in the afs_call_type struct objects have
to be annotated with __tracepoint_string.  This is done with the CM_NAME()
macro.

Further, the AFS call state enum needs a name so that it can be used to
declare parameter types.

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
</content>
</entry>
<entry>
<title>afs: Need linux/random.h</title>
<updated>2016-08-30T15:07:53Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2016-08-30T15:05:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e0661dfc5961cf14f255fa5466041a961ca2ebdf'/>
<id>urn:sha1:e0661dfc5961cf14f255fa5466041a961ca2ebdf</id>
<content type='text'>
We should #include linux/random.h to use get_random().

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
</content>
</entry>
<entry>
<title>AFS: Correctly assemble the client UUID</title>
<updated>2014-07-29T17:14:36Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2014-07-29T16:53:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0ef135152353d323daa1fef2db94a23e9ae31fb6'/>
<id>urn:sha1:0ef135152353d323daa1fef2db94a23e9ae31fb6</id>
<content type='text'>
Correctly assemble the client UUID by OR'ing in the flags rather than
assigning them over the other components.

Reported-by: Himangi Saraogi &lt;himangi774@gmail.com&gt;
Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>afs: add afs_wq and use it instead of the system workqueue</title>
<updated>2011-01-14T17:25:11Z</updated>
<author>
<name>Tejun Heo</name>
</author>
<published>2011-01-14T15:56:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0ad53eeefcbb2620b6a71ffdaad4add20b450b8b'/>
<id>urn:sha1:0ad53eeefcbb2620b6a71ffdaad4add20b450b8b</id>
<content type='text'>
flush_scheduled_work() is going away.  afs needs to make sure all the
works it has queued have finished before being unloaded and there can
be arbitrary number of pending works.  Add afs_wq and use it as the
flush domain instead of the system workqueue.

Also, convert cancel_delayed_work() + flush_scheduled_work() to
cancel_delayed_work_sync() in afs_mntpt_kill_timer().

Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Cc: linux-afs@lists.infradead.org
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>AFS: Fix the module init error handling</title>
<updated>2010-08-07T21:23:37Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2010-08-06T16:26:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=df44f9f4f9b5d362b5a2d1c8444fe7e6d4c42653'/>
<id>urn:sha1:df44f9f4f9b5d362b5a2d1c8444fe7e6d4c42653</id>
<content type='text'>
Fix the module init error handling.  There are a bunch of goto labels for
aborting the init procedure at different points and just undoing what needs
undoing - they aren't all in the right places, however.

This can lead to an oops like the following:

	BUG: unable to handle kernel NULL pointer dereference at 0000000000000020
	IP: [&lt;ffffffff81042a31&gt;] destroy_workqueue+0x17/0xc0
	...
	Modules linked in: kafs(+) dns_resolver rxkad af_rxrpc fscache

	Pid: 2171, comm: insmod Not tainted 2.6.35-cachefs+ #319 DG965RY/
	...
	Process insmod (pid: 2171, threadinfo ffff88003ca6a000, task ffff88003dcc3050)
	...
	Call Trace:
	 [&lt;ffffffffa0055994&gt;] afs_callback_update_kill+0x10/0x12 [kafs]
	 [&lt;ffffffffa007d1c5&gt;] afs_init+0x190/0x1ce [kafs]
	 [&lt;ffffffffa007d035&gt;] ? afs_init+0x0/0x1ce [kafs]
	 [&lt;ffffffff810001ef&gt;] do_one_initcall+0x59/0x14e
	 [&lt;ffffffff8105f7ee&gt;] sys_init_module+0x9c/0x1de
	 [&lt;ffffffff81001eab&gt;] system_call_fastpath+0x16/0x1b

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>FS-Cache: Make kAFS use FS-Cache</title>
<updated>2009-04-03T15:42:41Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2009-04-03T15:42:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9b3f26c9110dcea62716aca9b8c68ceb482227ef'/>
<id>urn:sha1:9b3f26c9110dcea62716aca9b8c68ceb482227ef</id>
<content type='text'>
The attached patch makes the kAFS filesystem in fs/afs/ use FS-Cache, and
through it any attached caches.  The kAFS filesystem will use caching
automatically if it's available.

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Acked-by: Steve Dickson &lt;steved@redhat.com&gt;
Acked-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
Acked-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Tested-by: Daire Byrne &lt;Daire.Byrne@framestore.com&gt;
</content>
</entry>
<entry>
<title>AFS: Do not describe debug parameters with their value</title>
<updated>2008-04-16T14:43:48Z</updated>
<author>
<name>Paul Bolle</name>
</author>
<published>2008-04-16T10:08:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=424b00e2c0f0c38f2cf5331391742ec998f6d89f'/>
<id>urn:sha1:424b00e2c0f0c38f2cf5331391742ec998f6d89f</id>
<content type='text'>
Describe debug parameters with their names (and not their values).

Signed-off-by: Paul Bolle &lt;pebolle@tiscali.nl&gt;
Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
