diff options
author | Vikas Gorur <vikas@gluster.com> | 2009-09-17 05:56:25 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-09-22 06:13:32 -0700 |
commit | faf97734112ebe11d8a411351d9f23b528b9d616 (patch) | |
tree | d8b898e842c1be3c3b760d41188f7a4b0078232b /libglusterfs/src/glusterfs.h | |
parent | 239d2cbdb0a4c32df9f21de8385e2c466b934178 (diff) |
libglusterfs: Add RCHECKSUM fop.
rchecksum (fd, offset, len): Calculates both the weak and strong
checksums for a block of {len} bytes at {offset} in {fd}.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'libglusterfs/src/glusterfs.h')
-rw-r--r-- | libglusterfs/src/glusterfs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h index e522c3176e0..df21d40a5c2 100644 --- a/libglusterfs/src/glusterfs.h +++ b/libglusterfs/src/glusterfs.h @@ -122,7 +122,8 @@ typedef enum { GF_FOP_LOCK_NOTIFY, GF_FOP_LOCK_FNOTIFY, GF_FOP_FGETXATTR, - GF_FOP_FSETXATTR, + GF_FOP_FSETXATTR, /* 45 */ + GF_FOP_RCHECKSUM, GF_FOP_MAXVALUE, } glusterfs_fop_t; |