[PATCH 1/9] libceph: fix safe completion

2013-06-03 Thread Yan, Zheng
From: "Yan, Zheng" handle_reply() calls complete_request() only if the first OSD reply has ONDISK flag. Signed-off-by: Yan, Zheng --- include/linux/ceph/osd_client.h | 1 - net/ceph/osd_client.c | 16 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/in

Re: [PATCH 1/9] libceph: fix safe completion

2013-06-10 Thread Alex Elder
On 06/03/2013 10:19 PM, Yan, Zheng wrote: > From: "Yan, Zheng" > > handle_reply() calls complete_request() only if the first OSD reply > has ONDISK flag. I believe that you're trying to fix a simple problem here, but you are changing the logic around in several ways at the same time and it makes