summaryrefslogtreecommitdiff
path: root/src/doc/lazy_posix.txt
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-07-08 11:24:48 -0700
committerSage Weil <sage@inktank.com>2013-07-08 14:52:10 -0700
commit09d258b70a28e5cea555b9d7e215fe41d6b84577 (patch)
tree4181a9ebb3edf19b080dca485ad311c789924aee /src/doc/lazy_posix.txt
parentc3b684932bad31fc853ad556d16e1e4a9926486e (diff)
downloadceph-wip-lazy-cuttlefish.tar.gz
client: remove O_LAZYwip-lazy-cuttlefish
The once-upon-a-time unique O_LAZY value I chose forever ago is now O_NOATIME, which means that some clients are choosing relaxed consistency without meaning to. It is highly unlikely that a real O_LAZY will ever exist, and we can select it in the ceph case with the ioctl or libcephfs call, so drop any support for doing this via open(2) flags. Update doc/lazy_posix.txt file re: lazy io. Backport: cuttlefish Signed-off-by: Sage Weil <sage@inktank.com> Reviewed-by: Greg Farnum <greg@inktank.com> (cherry picked from commit 94afedf02d07ad4678222aa66289a74b87768810)
Diffstat (limited to 'src/doc/lazy_posix.txt')
-rw-r--r--src/doc/lazy_posix.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/lazy_posix.txt b/src/doc/lazy_posix.txt
index 1d226cd03d8..a7bc34e3030 100644
--- a/src/doc/lazy_posix.txt
+++ b/src/doc/lazy_posix.txt
@@ -25,7 +25,7 @@ http://www.usenix.org/events/fast05/wips/slides/welch.pdf
-- lazy i/o integrity
- O_LAZY to open(2)
+ FIXME: currently missing call to flag an Fd/file has lazy. used to be O_LAZY on open, but no more.
* relax data coherency
* writes may not be visible until lazyio_propagate, fsync, close
@@ -50,4 +50,4 @@ int lockg(int fd, int cmd, lgid_t *lgid)
int openg(char *path, int mode, fh_t *handle);
portable file handle
-int sutoc(fh_t *fh); \ No newline at end of file
+int sutoc(fh_t *fh);