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
committerNiels de Vos <ndevos@redhat.com>2018-01-26 12:33:42 +0000
commit1a519f4bf960c6aafecfb189e8ec8b153abcf6ce (patch)
treec9f863b427ca03a1ba6321403314a3766b136abb /api/src/glfs-resolve.c
parentcd66e4edae84033f426820e359927272ad4ae641 (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