Thanks for the information, I'll take a look at this pr and think it over.

Jeff Layton <jlayton@redhat.com> 于2019年11月27日周三 下午6:50写道:
On Wed, 2019-11-27 at 15:14 +0800, j j wrote:
> Hi all,
>
>    Recently I encountered a situation requires reliable file storage with cephfs, and the point is those data is not allowed to get modified or deleted.
> After some learning I found that the WORM(write once read many) feature is exactly what I need.Unfortunately, as far as I know, there is no worm
> feature in cephfs.
>    So I was wondering is there any plan or design about this feature?
>
> Thanks.

There's a pull request for this that has been stalled since spring:

    https://github.com/ceph/ceph/pull/26691

Personally, I don't see how we can get away with making file data 100%
immutable. We'll need to allow _some_ entity to un-WORM the thing, and
it was never clear to me how that would work.
--
Jeff Layton <jlayton@redhat.com>