<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/nfs/blocklayout/blocklayout.h, branch linux-3.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.3.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.3.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-01-12T21:52:10Z</updated>
<entry>
<title>pnfsblock: alloc short extent before submit bio</title>
<updated>2012-01-12T21:52:10Z</updated>
<author>
<name>Peng Tao</name>
</author>
<published>2012-01-12T15:18:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7c5465d6ccd759caa959828e2add5603518dafc4'/>
<id>urn:sha1:7c5465d6ccd759caa959828e2add5603518dafc4</id>
<content type='text'>
As discussed earlier, it is better for block client to allocate memory for
tracking extents state before submitting bio. So the patch does it by allocating
a short_extent for every INVALID extent touched by write pagelist and for
every zeroing page we created, saving them in layout header. Then in end_io we
can just use them to create commit list items and avoid memory allocation there.

Signed-off-by: Peng Tao &lt;peng_tao@emc.com&gt;
Signed-off-by: Benny Halevy &lt;bhalevy@tonian.com&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>pnfsblock: cleanup bl_mark_sectors_init</title>
<updated>2012-01-12T21:52:09Z</updated>
<author>
<name>Peng Tao</name>
</author>
<published>2012-01-12T15:18:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=60c52e3a72fda10e82f38b6f979956eb2dcb3d4e'/>
<id>urn:sha1:60c52e3a72fda10e82f38b6f979956eb2dcb3d4e</id>
<content type='text'>
It does not need to manipulate on partial initialized blocks.
Writeback code takes care of it.

Signed-off-by: Peng Tao &lt;peng_tao@emc.com&gt;
Signed-off-by: Benny Halevy &lt;bhalevy@tonian.com&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>SUNRPC/NFS: make rpc pipe upcall generic</title>
<updated>2011-10-18T16:08:12Z</updated>
<author>
<name>Peng Tao</name>
</author>
<published>2011-09-23T01:50:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c1225158a8dad9e9d5eee8a17dbbd9c7cda05ab9'/>
<id>urn:sha1:c1225158a8dad9e9d5eee8a17dbbd9c7cda05ab9</id>
<content type='text'>
The same function is used by idmap, gss and blocklayout code. Make it
generic.

Signed-off-by: Peng Tao &lt;peng_tao@emc.com&gt;
Signed-off-by: Jim Rees &lt;rees@umich.edu&gt;
Cc: stable@kernel.org [3.0]
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>pnfsblock: fix size of upcall message</title>
<updated>2011-10-18T16:08:11Z</updated>
<author>
<name>Jim Rees</name>
</author>
<published>2011-09-23T01:50:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fdc17abbc4b6094b34ee8ff5d91eaba8637594a2'/>
<id>urn:sha1:fdc17abbc4b6094b34ee8ff5d91eaba8637594a2</id>
<content type='text'>
Make the status field explicitly 32 bits.  "...it's unlikely that the kernel
and userspace would differ on the size of an int here, but it might be a
good idea to go ahead and make that explicitly 32 bits in case we end up
dealing with more exotic arches at some point in the future."

Suggested-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Jim Rees &lt;rees@umich.edu&gt;
Signed-off-by: Benny Halevy &lt;bhalevy@tonian.com&gt;
Cc: stable@kernel.org [3.0]
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>pnfsblock: note written INVAL areas for layoutcommit</title>
<updated>2011-07-31T16:18:17Z</updated>
<author>
<name>Fred Isaman</name>
</author>
<published>2011-07-31T00:52:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=31e6306a4046926b598484f1cacf69309382eac6'/>
<id>urn:sha1:31e6306a4046926b598484f1cacf69309382eac6</id>
<content type='text'>
Signed-off-by: Peng Tao &lt;peng_tao@emc.com&gt;
Signed-off-by: Fred Isaman &lt;iisaman@citi.umich.edu&gt;
Signed-off-by: Benny Halevy &lt;bhalevy@panasas.com&gt;
Signed-off-by: Benny Halevy &lt;bhalevy@tonian.com&gt;
Signed-off-by: Jim Rees &lt;rees@umich.edu&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>pnfsblock: cleanup_layoutcommit</title>
<updated>2011-07-31T16:18:17Z</updated>
<author>
<name>Fred Isaman</name>
</author>
<published>2011-07-31T00:52:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b2be7811dd94816f3df76708c8eb7f55bf7289e2'/>
<id>urn:sha1:b2be7811dd94816f3df76708c8eb7f55bf7289e2</id>
<content type='text'>
In blocklayout driver. There are two things happening
while layoutcommit/cleanup.
1. the modified extents are encoded.
2. On cleanup the extents are put back on the layout rw
   extents list, for reads.

In the new system where actual xdr encoding is done in
encode_layoutcommit() directly into xdr buffer, these are
the new commit stages:

1. On setup_layoutcommit, the range is adjusted as before
   and a structure is allocated for communication with
   bl_encode_layoutcommit &amp;&amp; bl_cleanup_layoutcommit
   (Generic layer provides a void-star to hang it on)

2. bl_encode_layoutcommit is called to do the actual
   encoding directly into xdr. The commit-extent-list is not
   freed and is stored on above structure.
   FIXME: The code is not yet converted to the new XDR cleanup

3. On cleanup the commit-extent-list is put back by a call
   to set_to_rw() as before, but with no need for XDR decoding
   of the list as before. And the commit-extent-list is freed.
   Finally allocated structure is freed.

[rm inode and pnfs_layout_hdr args from cleanup_layoutcommit()]
Signed-off-by: Jim Rees &lt;rees@umich.edu&gt;
[pnfsblock: introduce bl_committing list]
Signed-off-by: Peng Tao &lt;peng_tao@emc.com&gt;
[pnfsblock: SQUASHME: adjust to API change]
Signed-off-by: Fred Isaman &lt;iisaman@citi.umich.edu&gt;
[blocklayout: encode_layoutcommit implementation]
Signed-off-by: Boaz Harrosh &lt;bharrosh@panasas.com&gt;
[pnfsblock: fix bug setting up layoutcommit.]
Signed-off-by: Tao Guo &lt;guotao@nrchpc.ac.cn&gt;
[pnfsblock: cleanup_layoutcommit wants a status parameter]
Signed-off-by: Boaz Harrosh &lt;bharrosh@panasas.com&gt;
Signed-off-by: Benny Halevy &lt;bhalevy@panasas.com&gt;
Signed-off-by: Benny Halevy &lt;bhalevy@tonian.com&gt;
Signed-off-by: Jim Rees &lt;rees@umich.edu&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>pnfsblock: encode_layoutcommit</title>
<updated>2011-07-31T16:18:17Z</updated>
<author>
<name>Fred Isaman</name>
</author>
<published>2011-07-31T00:52:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=90ace12ac42f65d1f077c5ef5ec2efafdcac338f'/>
<id>urn:sha1:90ace12ac42f65d1f077c5ef5ec2efafdcac338f</id>
<content type='text'>
In blocklayout driver. There are two things happening
while layoutcommit/cleanup.
1. the modified extents are encoded.
2. On cleanup the extents are put back on the layout rw
   extents list, for reads.

In the new system where actual xdr encoding is done in
encode_layoutcommit() directly into xdr buffer, these are
the new commit stages:

1. On setup_layoutcommit, the range is adjusted as before
   and a structure is allocated for communication with
   bl_encode_layoutcommit &amp;&amp; bl_cleanup_layoutcommit
   (Generic layer provides a void-star to hang it on)

2. bl_encode_layoutcommit is called to do the actual
   encoding directly into xdr. The commit-extent-list is not
   freed and is stored on above structure.
   FIXME: The code is not yet converted to the new XDR cleanup

3. On cleanup the commit-extent-list is put back by a call
   to set_to_rw() as before, but with no need for XDR decoding
   of the list as before. And the commit-extent-list is freed.
   Finally allocated structure is freed.

[rm inode and pnfs_layout_hdr args from cleanup_layoutcommit()]
[pnfsblock: get rid of deprecated xdr macros]
Signed-off-by: Jim Rees &lt;rees@umich.edu&gt;
Signed-off-by: Peng Tao &lt;peng_tao@emc.com&gt;
Signed-off-by: Fred Isaman &lt;iisaman@citi.umich.edu&gt;
[blocklayout: encode_layoutcommit implementation]
Signed-off-by: Boaz Harrosh &lt;bharrosh@panasas.com&gt;
[pnfsblock: fix bug setting up layoutcommit.]
Signed-off-by: Tao Guo &lt;guotao@nrchpc.ac.cn&gt;
[pnfsblock: prevent commit list corruption]
[pnfsblock: fix layoutcommit with an empty opaque]
Signed-off-by: Fred Isaman &lt;iisaman@citi.umich.edu&gt;
Signed-off-by: Benny Halevy &lt;bhalevy@panasas.com&gt;
Signed-off-by: Benny Halevy &lt;bhalevy@tonian.com&gt;
Signed-off-by: Jim Rees &lt;rees@umich.edu&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>pnfsblock: add extent manipulation functions</title>
<updated>2011-07-31T16:18:17Z</updated>
<author>
<name>Fred Isaman</name>
</author>
<published>2011-07-31T00:52:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c1c2a4cd352269f1fb585b4a5c63abe24dd946c6'/>
<id>urn:sha1:c1c2a4cd352269f1fb585b4a5c63abe24dd946c6</id>
<content type='text'>
Adds working implementations of various support functions
to handle INVAL extents, needed by writes, such as
bl_mark_sectors_init and bl_is_sector_init.

[pnfsblock: fix 64-bit compiler warnings for extent manipulation]
Signed-off-by: Fred Isaman &lt;iisaman@citi.umich.edu&gt;
Signed-off-by: Benny Halevy &lt;bhalevy@panasas.com&gt;
Signed-off-by: Benny Halevy &lt;bhalevy@tonian.com&gt;
[Implement release_inval_marks]
Signed-off-by: Zhang Jingwang &lt;zhangjingwang@nrchpc.ac.cn&gt;
Signed-off-by: Jim Rees &lt;rees@umich.edu&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>pnfsblock: bl_find_get_extent</title>
<updated>2011-07-31T16:18:16Z</updated>
<author>
<name>Fred Isaman</name>
</author>
<published>2011-07-31T00:52:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6d742ba538f98164f3c5e05cdcadb4ec6ddf504f'/>
<id>urn:sha1:6d742ba538f98164f3c5e05cdcadb4ec6ddf504f</id>
<content type='text'>
Implement bl_find_get_extent(), one of the core extent manipulation
routines.

[pnfsblock: Lookup list entry of layouts and tags in reverse order]
Signed-off-by: Zhang Jingwang &lt;zhangjingwang@nrchpc.ac.cn&gt;
Signed-off-by: Fred Isaman &lt;iisaman@citi.umich.edu&gt;
Signed-off-by: Benny Halevy &lt;bhalevy@panasas.com&gt;
Signed-off-by: Jim Rees &lt;rees@umich.edu&gt;

pnfsblock: fix print format warnings for sector_t and size_t

gcc spews warnings about these on x86_64, e.g.:
fs/nfs/blocklayout/blocklayout.c:74: warning: format ‘%Lu’ expects type ‘long long unsigned int’, but argument 2 has type ‘sector_t’
fs/nfs/blocklayout/blocklayout.c:388: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘size_t’

Signed-off-by: Benny Halevy &lt;bhalevy@panasas.com&gt;
Signed-off-by: Benny Halevy &lt;bhalevy@tonian.com&gt;
Signed-off-by: Jim Rees &lt;rees@umich.edu&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>pnfsblock: call and parse getdevicelist</title>
<updated>2011-07-31T16:18:16Z</updated>
<author>
<name>Fred Isaman</name>
</author>
<published>2011-07-31T00:52:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2f9fd182607e7b3bdca35f6ed7f2fae539f7c46b'/>
<id>urn:sha1:2f9fd182607e7b3bdca35f6ed7f2fae539f7c46b</id>
<content type='text'>
Call GETDEVICELIST during mount, then call and parse GETDEVICEINFO
for each device returned.

[pnfsblock: get rid of deprecated xdr macros]
Signed-off-by: Jim Rees &lt;rees@umich.edu&gt;
[pnfsblock: fix pnfs_deviceid references]
Signed-off-by: Fred Isaman &lt;iisaman@citi.umich.edu&gt;
[pnfsblock: fix print format warnings for sector_t and size_t]
[pnfs-block: #include &lt;linux/vmalloc.h&gt;]
[pnfsblock: no PNFS_NFS_SERVER]
Signed-off-by: Benny Halevy &lt;bhalevy@panasas.com&gt;
[pnfsblock: fix bug determining size of striped volume]
[pnfsblock: fix oops when using multiple devices]
Signed-off-by: Fred Isaman &lt;iisaman@citi.umich.edu&gt;
Signed-off-by: Benny Halevy &lt;bhalevy@panasas.com&gt;
Signed-off-by: Benny Halevy &lt;bhalevy@tonian.com&gt;
[pnfsblock: get rid of vmap and deviceid-&gt;area structure]
Signed-off-by: Peng Tao &lt;peng_tao@emc.com&gt;
Signed-off-by: Jim Rees &lt;rees@umich.edu&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
</feed>
