summaryrefslogtreecommitdiffstats
path: root/api/src/glfs-resolve.c
diff options
context:
space:
mode:
authorSoumya Koduri <skoduri@redhat.com>2018-01-10 15:01:59 +0530
committerShyamsundar Ranganathan <srangana@redhat.com>2018-02-01 11:39:52 +0000
commit14555df7c6bc74622eb2283ded1c1f10980180ce (patch)
treec7f10acf3c9ed614273c9234bfc75a33bb8b6032 /api/src/glfs-resolve.c
parenta32ff73c06e1e14589817b1701c1c8d0f05aaa04 (diff)
gfapi : New APIs have been added to use lease feature in gluster
Following APIs glfs_h_lease(), glfs_lease() added, so that gfapi applications can set and get lease which enables more efficient client side caching. Updates: #350 Change-Id: Iede85be9af1d4df969b890d0937ed0afa4ca6596 Signed-off-by: Poornima G <pgurusid@redhat.com> Signed-off-by: Soumya Koduri <skoduri@redhat.com> Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
Diffstat (limited to 'api/src/glfs-resolve.c')
-rw-r--r--api/src/glfs-resolve.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/src/glfs-resolve.c b/api/src/glfs-resolve.c
index 16093ec2215..6c9fc38901f 100644
--- a/api/src/glfs-resolve.c
+++ b/api/src/glfs-resolve.c
@@ -953,6 +953,7 @@ __glfs_active_subvol (struct glfs *fs)
}
__glfs_migrate_openfds (fs, new_subvol);
+ /* TODO: Migrate the fds and inodes which have leases to the new graph (issue #350)*/
/* switching @active_subvol and @cwd
should be atomic