]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: remove O_LAZY 403/head
authorSage Weil <sage@inktank.com>
Mon, 8 Jul 2013 18:24:48 +0000 (11:24 -0700)
committerSage Weil <sage@inktank.com>
Mon, 8 Jul 2013 18:24:48 +0000 (11:24 -0700)
commit94afedf02d07ad4678222aa66289a74b87768810
tree67759256b72ea4fd3b44b0ff693a7fddb78f84af
parent71ebfe7e1abe4795b46cf00dfe1b03d1893368b0
client: remove O_LAZY

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>
src/client/Fh.h
src/doc/lazy_posix.txt
src/include/ceph_fs.cc
src/include/types.h