ceph: always send truncation info with read and write osd ops
authorYehuda Sadeh <yehuda@hq.newdream.net>
Tue, 2 Feb 2010 00:10:45 +0000 (16:10 -0800)
committerSage Weil <sage@newdream.net>
Wed, 3 Feb 2010 00:29:50 +0000 (16:29 -0800)
commit0c948992a00d478c17042f4790b7d6b35299cf94
tree8a6bdfabcaf9f524fcfa6ce2ec10ebb73df0a9aa
parent0f26c4b21b684825a6dd41f2bc04d48ff62d72f8
ceph: always send truncation info with read and write osd ops

This fixes a bug where the read/write ops arrive the osd after
a following truncation request.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/ceph_fs.h
fs/ceph/osd_client.c
fs/ceph/rados.h