ceph: remove special ack vs commit behavior
authorIlya Dryomov <idryomov@gmail.com>
Mon, 13 Feb 2017 13:44:19 +0000 (14:44 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 24 Feb 2017 18:04:57 +0000 (19:04 +0100)
commit55f2a04588c5881d90e22631b17a84cd25d17cc4
tree6dc9b01395ba83ff443d3eb5d4cb3cde39534003
parentf107548039807eb890e65ce5cd29d6ac52562f09
ceph: remove special ack vs commit behavior

- ask for a commit reply instead of an ack reply in
  __ceph_pool_perm_get()
- don't ask for both ack and commit replies in ceph_sync_write()
- since just only one reply is requested now, i_unsafe_writes list
  will always be empty -- kill ceph_sync_write_wait() and go back to
  a standard ->evict_inode()

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
fs/ceph/addr.c
fs/ceph/caps.c
fs/ceph/file.c
fs/ceph/inode.c
fs/ceph/super.c
fs/ceph/super.h