[Gluster-devel] Gluster 3.8 : File level WORM/Retention

Karthik Subrahmanya ksubrahm at redhat.com
Mon May 2 05:49:36 UTC 2016



----- Original Message -----
> From: "Joseph Fernandes" <josferna at redhat.com>
> To: "Gluster Devel" <gluster-devel at gluster.org>
> Cc: "Anoop Chirayath Manjiyil Sajan" <achiraya at redhat.com>
> Sent: Monday, May 2, 2016 7:57:00 AM
> Subject: [Gluster-devel] Gluster 3.8 : File level WORM/Retention
> 
> Hi All,
> 
> I would like to Congratulate Karthik for introducing the "File level
> WORM/Retention" feature(Experimental in 3.8)
Thank you Joseph :)
> in Gluster v3.8rc0 (http://review.gluster.org/#/c/13429/ patch merged)
> 
> Would also like to thank Atin, Anoop CS, Vijay M, Niels, Raghavendra Talur
> and Prasanth Pai
Thank you all for your valuable time and guidance :)
> for helping Karthik in doing so (reviews and guidance) :)
> 
> There are few of the action items that still remaining for 3.8 and should be
> done before 3.8 is released.
> 
> Action Items before 3.8 release:
> ================================
> Address review comments from Atin, Vijay and Raghavendra Talur,
> 1. Testing of effects of WORM Xlator positioning in the brick stack on other
> components
>    like barrier(snapshots), Quotas. If there are any immediate bugs.
>    Though in the later versions there will be a client side WORM-Cache
>    Xlator,
>    which will cache worm/retention states of file inodes and return back the
>    appropriate errors.
> 
> 2.  Correction on the error path as Vijay has suggested.
> In file worm.c, you are doing unwind in all FOPs with errno as -1, which is
> wrong.
> 
> Change the code something like below
>  if (label == 0)
>     goto wind;
>  if (label == 1)
>     op_errno = EROFS
>  else if (label == 2)
>     op_errno = ENOMEM
> 
>   Unwind here...
>   goto out;
> 
> wind:
>   ret = 0;
>   Wind here...
> 
> out: return ret;
> 
> 3. Talur's comment : Most of the functions in worm-helper need to have
> gf_worm prefix.
> 
> 4. Caching the retention state in the xlator inode context (stretch goal for
> 3.8)
> 
> Please feel free to add/update the list if I have missed something.
I will be addressing these in the subsequent patches.

Thanks & Regards,
Karthik Subrahmanya
> 
> Regards,
> Joe
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-devel
> 


More information about the Gluster-devel mailing list