ceph: revert commit 22cddde104
authorSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:15:58 +0000 (21:15 -0700)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:15:58 +0000 (21:15 -0700)
commit7971bd92baf729fcebe04d7330ac22dc668d0261
tree78a8ea3b4e072e52840dac968dfacfff737765bd
parenta8673d61ad77ddf2118599507bd40cc345e95368
ceph: revert commit 22cddde104

commit 22cddde104 breaks the atomicity of write operation, it also
introduces a deadlock between write and truncate.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
Conflicts:
fs/ceph/addr.c
fs/ceph/addr.c
fs/ceph/file.c
fs/ceph/mds_client.c