summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/src/glfs-fops.c6
-rw-r--r--api/src/glfs.c2
2 files changed, 2 insertions, 6 deletions
diff --git a/api/src/glfs-fops.c b/api/src/glfs-fops.c
index f3fba84e4e7..6ae0426ac8f 100644
--- a/api/src/glfs-fops.c
+++ b/api/src/glfs-fops.c
@@ -699,8 +699,7 @@ glfs_fsync (struct glfs_fd *glfd)
goto out;
}
- ret = syncop_fsync (subvol, glfd->fd);
-// ret = syncop_fsync (subvol, glfd->fd, 0);
+ ret = syncop_fsync (subvol, glfd->fd, 0);
out:
return ret;
}
@@ -761,8 +760,7 @@ glfs_fdatasync (struct glfs_fd *glfd)
goto out;
}
- ret = syncop_fsync (subvol, glfd->fd);
-// ret = syncop_fsync (subvol, glfd->fd, 1);
+ ret = syncop_fsync (subvol, glfd->fd, 1);
out:
return ret;
}
diff --git a/api/src/glfs.c b/api/src/glfs.c
index 6b3c2113d53..f0bdc86f0c6 100644
--- a/api/src/glfs.c
+++ b/api/src/glfs.c
@@ -16,14 +16,12 @@
reach it via THIS.
- fd migration on graph switch.
- update syncop functions to accept/return xdata. ???
- - syncop_readv to not touch params if args.op_ret < 0.
- protocol/client to reconnect immediately after portmap disconnect.
- handle SEEK_END failure in _lseek()
- handle umask (per filesystem?)
- implement glfs_set_xlator_option(), like --xlator-option
- make itables LRU based
- implement glfs_fini()
- - modify syncop_fsync() to accept 'dataonly' flag
- 0-copy for readv/writev
- reconcile the open/creat mess
*/