<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/ceph/file.c, branch linux-2.6.37.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-12-17T17:54:40Z</updated>
<entry>
<title>ceph: mark user pages dirty on direct-io reads</title>
<updated>2010-12-17T17:54:40Z</updated>
<author>
<name>Henry C Chang</name>
</author>
<published>2010-12-16T04:45:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b6aa5901c7a2bd90d0b6b9866300d2648b2568f3'/>
<id>urn:sha1:b6aa5901c7a2bd90d0b6b9866300d2648b2568f3</id>
<content type='text'>
For read operation, we have to set the argument _write_ of get_user_pages
to 1 since we will write data to pages. Also, we need to SetPageDirty before
releasing these pages.

Signed-off-by: Henry C Chang &lt;henry_c_chang@tcloudcomputing.com&gt;
Signed-off-by: Sage Weil &lt;sage@newdream.net&gt;
</content>
</entry>
<entry>
<title>ceph: fix direct-io on non-page-aligned buffers</title>
<updated>2010-12-16T04:46:16Z</updated>
<author>
<name>Henry C Chang</name>
</author>
<published>2010-12-16T04:41:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ab226e21ad34f6ef52e00d2ab399d2364b4cdfee'/>
<id>urn:sha1:ab226e21ad34f6ef52e00d2ab399d2364b4cdfee</id>
<content type='text'>
The user buffer may be 512-byte aligned, not page-aligned.  We were
assuming the buffer was page-aligned and only accounting for
non-page-aligned io offsets.

Signed-off-by: Henry C Chang &lt;henry_c_chang@tcloudcomputing.com&gt;
Signed-off-by: Sage Weil &lt;sage@newdream.net&gt;
</content>
</entry>
<entry>
<title>ceph: make page alignment explicit in osd interface</title>
<updated>2010-11-09T20:43:12Z</updated>
<author>
<name>Sage Weil</name>
</author>
<published>2010-11-09T20:43:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b7495fc2ff941db6a118a93ab8d61149e3f4cef8'/>
<id>urn:sha1:b7495fc2ff941db6a118a93ab8d61149e3f4cef8</id>
<content type='text'>
We used to infer alignment of IOs within a page based on the file offset,
which assumed they matched.  This broke with direct IO that was not aligned
to pages (e.g., 512-byte aligned IO).  We were also trusting the alignment
specified in the OSD reply, which could have been adjusted by the server.

Explicitly specify the page alignment when setting up OSD IO requests.

Signed-off-by: Sage Weil &lt;sage@newdream.net&gt;
</content>
</entry>
<entry>
<title>ceph: fix comment, remove extraneous args</title>
<updated>2010-11-09T20:24:53Z</updated>
<author>
<name>Sage Weil</name>
</author>
<published>2010-11-09T20:24:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e98b6fed84d0f0155d7b398e0dfeac74c792f2d0'/>
<id>urn:sha1:e98b6fed84d0f0155d7b398e0dfeac74c792f2d0</id>
<content type='text'>
The offset/length arguments aren't used.

Signed-off-by: Sage Weil &lt;sage@newdream.net&gt;
</content>
</entry>
<entry>
<title>ceph: fix open for write on clustered mds</title>
<updated>2010-11-07T17:07:15Z</updated>
<author>
<name>Sage Weil</name>
</author>
<published>2010-11-07T17:07:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7421ab8041d98363edfb85955fa3b9849ffae366'/>
<id>urn:sha1:7421ab8041d98363edfb85955fa3b9849ffae366</id>
<content type='text'>
Normally when we open a file we already have a cap, and simply update the
wanted set.  However, if we open a file for write, but don't have an auth
cap, that doesn't work; we need to open a new cap with the auth MDS.  Only
reuse existing caps if we are opening for read or the existing cap is auth.

Signed-off-by: Sage Weil &lt;sage@newdream.net&gt;
</content>
</entry>
<entry>
<title>ceph: factor out libceph from Ceph file system</title>
<updated>2010-10-20T22:37:28Z</updated>
<author>
<name>Yehuda Sadeh</name>
</author>
<published>2010-04-06T22:14:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3d14c5d2b6e15c21d8e5467dc62d33127c23a644'/>
<id>urn:sha1:3d14c5d2b6e15c21d8e5467dc62d33127c23a644</id>
<content type='text'>
This factors out protocol and low-level storage parts of ceph into a
separate libceph module living in net/ceph and include/linux/ceph.  This
is mostly a matter of moving files around.  However, a few key pieces
of the interface change as well:

 - ceph_client becomes ceph_fs_client and ceph_client, where the latter
   captures the mon and osd clients, and the fs_client gets the mds client
   and file system specific pieces.
 - Mount option parsing and debugfs setup is correspondingly broken into
   two pieces.
 - The mon client gets a generic handler callback for otherwise unknown
   messages (mds map, in this case).
 - The basic supported/required feature bits can be expanded (and are by
   ceph_fs_client).

No functional change, aside from some subtle error handling cases that got
cleaned up in the refactoring process.

Signed-off-by: Sage Weil &lt;sage@newdream.net&gt;
</content>
</entry>
<entry>
<title>ceph: fix list_add usage on unsafe_writes list</title>
<updated>2010-10-07T15:00:23Z</updated>
<author>
<name>Henry C Chang</name>
</author>
<published>2010-09-23T03:21:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=936aeb5c4a9fa799abd7d630a94223acedcaad50'/>
<id>urn:sha1:936aeb5c4a9fa799abd7d630a94223acedcaad50</id>
<content type='text'>
Fix argument order.

Signed-off-by: Henry C Chang &lt;henry_c_chang@tcloudcomputing.com&gt;
Signed-off-by: Sage Weil &lt;sage@newdream.net&gt;
</content>
</entry>
<entry>
<title>ceph: whitespace cleanup</title>
<updated>2010-08-03T17:25:11Z</updated>
<author>
<name>Sage Weil</name>
</author>
<published>2010-08-03T17:25:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=213c99ee0cf17ff0fbffb6fb540bd29615cd19d5'/>
<id>urn:sha1:213c99ee0cf17ff0fbffb6fb540bd29615cd19d5</id>
<content type='text'>
Signed-off-by: Sage Weil &lt;sage@newdream.net&gt;
</content>
</entry>
<entry>
<title>ceph: add flock/fcntl lock support</title>
<updated>2010-08-02T23:10:53Z</updated>
<author>
<name>Greg Farnum</name>
</author>
<published>2010-08-02T22:34:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=40819f6fb227c1832935b775ac22aef10aa6f6dd'/>
<id>urn:sha1:40819f6fb227c1832935b775ac22aef10aa6f6dd</id>
<content type='text'>
Implement flock inode operation to support advisory file locking.  All
lock/unlock operations are synchronous with the MDS.  Lock state is
sent when reconnecting to a recovering MDS to restore the shared lock
state.

Signed-off-by: Greg Farnum &lt;gregf@hq.newdream.net&gt;
Signed-off-by: Sage Weil &lt;sage@newdream.net&gt;
</content>
</entry>
<entry>
<title>ceph: code cleanup</title>
<updated>2010-08-02T03:11:40Z</updated>
<author>
<name>Yehuda Sadeh</name>
</author>
<published>2010-06-11T23:58:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cd84db6e4051a9fb7941d49d31a0193a3371fd61'/>
<id>urn:sha1:cd84db6e4051a9fb7941d49d31a0193a3371fd61</id>
<content type='text'>
Mainly fixing minor issues reported by sparse.

Signed-off-by: Yehuda Sadeh &lt;yehuda@hq.newdream.net&gt;
Signed-off-by: Sage Weil &lt;sage@newdream.net&gt;
</content>
</entry>
</feed>
