On Wed, Jan 28, 2015 at 11:43 AM, Gregory Farnum wrote:
>
> On Wed, Jan 28, 2015 at 10:06 AM, Sage Weil wrote:
> > On Wed, 28 Jan 2015, John Spray wrote:
> >> On Wed, Jan 28, 2015 at 5:23 PM, Gregory Farnum wrote:
> >> > My concern is whether we as the FS are responsible for doing anything
> >>
On Wed, Jan 28, 2015 at 10:06 AM, Sage Weil wrote:
> On Wed, 28 Jan 2015, John Spray wrote:
>> On Wed, Jan 28, 2015 at 5:23 PM, Gregory Farnum wrote:
>> > My concern is whether we as the FS are responsible for doing anything
>> > more than storing and returning that immutable flag ? are we suppos
On Wed, 28 Jan 2015, John Spray wrote:
> On Wed, Jan 28, 2015 at 5:23 PM, Gregory Farnum wrote:
> > My concern is whether we as the FS are responsible for doing anything
> > more than storing and returning that immutable flag ? are we supposed
> > to block writes to anything that has it set? That
On Wed, Jan 28, 2015 at 5:23 PM, Gregory Farnum wrote:
> My concern is whether we as the FS are responsible for doing anything
> more than storing and returning that immutable flag — are we supposed
> to block writes to anything that has it set? That could be much
> trickier...
The VFS layer is c
On Wed, Jan 28, 2015 at 5:24 AM, John Spray wrote:
> We don't implement the GETFLAGS and SETFLAGS ioctls used for +i.
>
> Adding the ioctls is pretty easy, but then we need somewhere to put
> the flags. Currently we don't store a "flags" attribute on inodes,
> but maybe we could borrow the high b
Thank you for the reply. This is a feature that we would like to see.
Should I write a cephfs tracker report on this as a possible future
enhancement?
On Wed, Jan 28, 2015 at 6:24 AM, John Spray wrote:
> We don't implement the GETFLAGS and SETFLAGS ioctls used for +i.
>
> Adding the ioctls is pr
We don't implement the GETFLAGS and SETFLAGS ioctls used for +i.
Adding the ioctls is pretty easy, but then we need somewhere to put
the flags. Currently we don't store a "flags" attribute on inodes,
but maybe we could borrow the high bits of the mode attribute for this
if we wanted to implement
Should chattr +i work with cephfs?
Using ceph v0.91 and a 3.18 kernel on the CephFS client, I tried this:
# mount | grep ceph
172.16.30.10:/ on /cephfs/test01 type ceph (name=cephfs,key=client.cephfs)
# echo 1 > /cephfs/test01/test.1
# ls -l /cephfs/test01/test.1
-rw-r--r-- 1 root root 2 Jan 27