[Gluster-devel] Adding one variable to inode structure

Tahereh Fattahi t28.fattahi at gmail.com
Sun Jun 4 23:23:39 UTC 2017


Hi
I want to add one boolean field to inode structure for a directory.
 when it is 1 it means that directory has one or more video file. when it
is 0 it means that there is no video file in that directory.
I can add this variable to inode structure and update it in server side, in
posix_create function (when there is a create request for a video file).
question is about client knowledge about this variable. is it possible that
client can see the amount of this variable of different servers (bricks)
and OR them to one variable in cient's inode of the directory? in which
xlator I should try in client side?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-devel/attachments/20170605/9f132e5f/attachment.html>


More information about the Gluster-devel mailing list