<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/ceph/xattr.c, branch linux-3.17.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-07-28T09:29:27Z</updated>
<entry>
<title>ceph: fix sizeof(struct tYpO *) typo</title>
<updated>2014-07-28T09:29:27Z</updated>
<author>
<name>Ilya Dryomov</name>
</author>
<published>2014-07-25T07:47:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7e8a295295775ec9e05411cefc578ff4bfc94740'/>
<id>urn:sha1:7e8a295295775ec9e05411cefc578ff4bfc94740</id>
<content type='text'>
struct ceph_xattr -&gt; struct ceph_inode_xattr

Reported-by: Toralf Förster &lt;toralf.foerster@gmx.de&gt;
Signed-off-by: Ilya Dryomov &lt;ilya.dryomov@inktank.com&gt;
Reviewed-by: Alex Elder &lt;elder@linaro.org&gt;
</content>
</entry>
<entry>
<title>ceph: remove redundant memset(0)</title>
<updated>2014-07-28T09:28:33Z</updated>
<author>
<name>Ilya Dryomov</name>
</author>
<published>2014-07-25T08:44:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1a295bd8c854de221813d0ba0848031a8985b869'/>
<id>urn:sha1:1a295bd8c854de221813d0ba0848031a8985b869</id>
<content type='text'>
xattrs array of pointers is allocated with kcalloc() - no need to
memset() it to 0 right after that.

Signed-off-by: Ilya Dryomov &lt;ilya.dryomov@inktank.com&gt;
Reviewed-by: Alex Elder &lt;elder@linaro.org&gt;
</content>
</entry>
<entry>
<title>ceph: don't include ceph.{file,dir}.layout vxattr in listxattr()</title>
<updated>2014-04-05T04:07:21Z</updated>
<author>
<name>Yan, Zheng</name>
</author>
<published>2014-03-24T11:15:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cc48c3e85f7fc48092f2e9874f1a07dd997d9184'/>
<id>urn:sha1:cc48c3e85f7fc48092f2e9874f1a07dd997d9184</id>
<content type='text'>
This avoids 'cp -a' modifying layout of new files/directories.

Signed-off-by: Yan, Zheng &lt;zheng.z.yan@intel.com&gt;
</content>
</entry>
<entry>
<title>ceph: check buffer size in ceph_vxattrcb_layout()</title>
<updated>2014-04-05T04:07:19Z</updated>
<author>
<name>Yan, Zheng</name>
</author>
<published>2014-03-24T05:00:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1e5c6649ff0a2049511bafa297277234011a5c58'/>
<id>urn:sha1:1e5c6649ff0a2049511bafa297277234011a5c58</id>
<content type='text'>
If buffer size is zero, return the size of layout vxattr. If buffer
size is not zero, check if it is large enough for layout vxattr.

Signed-off-by: Yan, Zheng &lt;zheng.z.yan@intel.com&gt;
</content>
</entry>
<entry>
<title>ceph: do not chain inode updates to parent fsync</title>
<updated>2014-04-03T02:33:52Z</updated>
<author>
<name>Sage Weil</name>
</author>
<published>2013-02-05T21:52:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=752c8bdcfe88f27a17c5c9264df928fd145a4b30'/>
<id>urn:sha1:752c8bdcfe88f27a17c5c9264df928fd145a4b30</id>
<content type='text'>
The fsync(dirfd) only covers namespace operations, not inode updates.
We do not need to cover setattr variants or O_TRUNC.

Reported-by: Al Viro &lt;viro@xeniv.linux.org.uk&gt;
Signed-off-by: Sage Weil &lt;sage@inktank.com&gt;
Reviewed-by: Yan, Zheng &lt;zheng.z.yan@intel.com&gt;
</content>
</entry>
<entry>
<title>ceph: fix ceph_removexattr()</title>
<updated>2014-02-17T20:37:10Z</updated>
<author>
<name>Yan, Zheng</name>
</author>
<published>2014-02-11T05:23:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=524186ace6c4dcc83975b858622a66888b018fd0'/>
<id>urn:sha1:524186ace6c4dcc83975b858622a66888b018fd0</id>
<content type='text'>
Signed-off-by: Yan, Zheng &lt;zheng.z.yan@intel.com&gt;
</content>
</entry>
<entry>
<title>ceph: remove xattr when null value is given to setxattr()</title>
<updated>2014-02-17T20:37:09Z</updated>
<author>
<name>Yan, Zheng</name>
</author>
<published>2014-02-11T05:04:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bcdfeb2eb4e42b811950b9cd226109291051732a'/>
<id>urn:sha1:bcdfeb2eb4e42b811950b9cd226109291051732a</id>
<content type='text'>
For the setxattr request, introduce a new flag CEPH_XATTR_REMOVE
to distinguish null value case from the zero-length value case.

Signed-off-by: Yan, Zheng &lt;zheng.z.yan@intel.com&gt;
</content>
</entry>
<entry>
<title>ceph: properly handle XATTR_CREATE and XATTR_REPLACE</title>
<updated>2014-02-17T20:37:05Z</updated>
<author>
<name>Yan, Zheng</name>
</author>
<published>2014-02-11T05:01:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fbc0b970ddfab4b35dad27ebaae712af680bdc7e'/>
<id>urn:sha1:fbc0b970ddfab4b35dad27ebaae712af680bdc7e</id>
<content type='text'>
return -EEXIST if XATTR_CREATE is set and xattr alread exists.
return -ENODATA if XATTR_REPLACE is set but xattr does not exist.

Signed-off-by: Yan, Zheng &lt;zheng.z.yan@intel.com&gt;
</content>
</entry>
<entry>
<title>ceph: Fix up after semantic merge conflict</title>
<updated>2014-01-29T02:06:18Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2014-01-29T02:06:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4db658ea0ca2312b5d168230476ec7729385aefe'/>
<id>urn:sha1:4db658ea0ca2312b5d168230476ec7729385aefe</id>
<content type='text'>
The previous ceph-client merge resulted in ceph not even building,
because there was a merge conflict that wasn't visible as an actual data
conflict: commit 7221fe4c2ed7 ("ceph: add acl for cephfs") added support
for POSIX ACL's into Ceph, but unluckily we also had the VFS tree change
a lot of the POSIX ACL helper functions to be much more helpful to
filesystems (see for example commits 2aeccbe957d0 "fs: add generic
xattr_acl handlers", 5bf3258fd2ac "fs: make posix_acl_chmod more useful"
and 37bc15392a23 "fs: make posix_acl_create more useful")

The reason this conflict wasn't obvious was many-fold: because it was a
semantic conflict rather than a data conflict, it wasn't visible in the
git merge as a conflict.  And because the VFS tree hadn't been in
linux-next, people hadn't become aware of it that way.  And because I
was at jury duty this morning, I was using my laptop and as a result not
doing constant "allmodconfig" builds.

Anyway, this fixes the build and generally removes a fair chunk of the
Ceph POSIX ACL support code, since the improved helpers seem to match
really well for Ceph too.  But I don't actually have any way to *test*
the end result, and I was really hoping for some ACK's for this.  Oh,
well.

Not compiling certainly doesn't make things easier to test, so I'm
committing this without the acks after having waited for four hours...
Plus it's what I would have done for the merge had I noticed the
semantic conflict..

Reported-by: Dave Jones &lt;davej@redhat.com&gt;
Cc: Sage Weil &lt;sage@inktank.com&gt;
Cc: Guangliang Zhao &lt;lucienchao@gmail.com&gt;
Cc: Li Wang &lt;li.wang@ubuntykylin.com&gt;
Cc: Christoph Hellwig &lt;hch@infradead.org&gt;
Cc: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>ceph: add acl for cephfs</title>
<updated>2013-12-31T18:32:01Z</updated>
<author>
<name>Guangliang Zhao</name>
</author>
<published>2013-11-11T07:18:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7221fe4c2ed72804b28633c8e0217d65abb0023f'/>
<id>urn:sha1:7221fe4c2ed72804b28633c8e0217d65abb0023f</id>
<content type='text'>
Signed-off-by: Guangliang Zhao &lt;lucienchao@gmail.com&gt;
Reviewed-by: Li Wang &lt;li.wang@ubuntykylin.com&gt;
Reviewed-by: Zheng Yan &lt;zheng.z.yan@intel.com&gt;
</content>
</entry>
</feed>
