diff options
author | Poornima G <pgurusid@redhat.com> | 2017-11-18 15:19:13 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2017-12-05 14:21:01 +0000 |
commit | dc1258bfe46d30059119a3294285a114ec2bcd36 (patch) | |
tree | 4ff3cb254b5246e27b1eda32312e4ddeec897900 /rpc | |
parent | 8a0b115b20cfa2dd3c5a9e22a8244c9c2f03e17b (diff) |
libglusterfs: Add put fop
Problem: It had been a longtime request to implement put fop
in gluster. put fop in gluster may not have the exact sementics
of HTTP PUT, but can be easily extended to do so. The subsequent
patches, will contain more semantics on the put fop and its
guarentees.
Why compound fop framework is not used for put?
Compound fop framework currently doesn't allow compounding of
entry fop and inode fops, i.e. fops on multiple inodes cannot be
combined in compound fop.
Updates #353
Change-Id: Idb7891b3e056d46d570bb7e31bad1b6a28656ada
Signed-off-by: Poornima G <pgurusid@redhat.com>
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/xdr/src/glusterfs-fops.x | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rpc/xdr/src/glusterfs-fops.x b/rpc/xdr/src/glusterfs-fops.x index 8a99ef5cfe7..b14a6e6f2e1 100644 --- a/rpc/xdr/src/glusterfs-fops.x +++ b/rpc/xdr/src/glusterfs-fops.x @@ -74,6 +74,7 @@ enum glusterfs_fop_t { GF_FOP_COMPOUND, GF_FOP_GETACTIVELK, GF_FOP_SETACTIVELK, + GF_FOP_PUT, GF_FOP_MAXVALUE }; |