Re: [ceph-users] Deadlock in ceph journal

2014-08-25 Thread Sage Weil
[Copying ceph-devel, dropping ceph-users] Yeah, that looks like a bug. I pushed wip-filejournal that reapplies Jianpeng's original patch and this one. I'm not certain about last other suggested fix, though, but I'm hoping that this fix explains the strange behavior Jianpeng and Mark have seen

Re: [ceph-users] Deadlock in ceph journal

2014-08-19 Thread Somnath Roy
I think this is the issue.. http://tracker.ceph.com/issues/9073 Thanks & Regards Somnath From: Somnath Roy Sent: Tuesday, August 19, 2014 6:25 PM To: Sage Weil (s...@inktank.com); Samuel Just (sam.j...@inktank.com) Cc: ceph-users@lists.ceph.com Subject: Deadlock in ceph journal Hi Sage/Sam, Dur

[ceph-users] Deadlock in ceph journal

2014-08-19 Thread Somnath Roy
Hi Sage/Sam, During our testing we found a potential deadlock scenario in the filestore journal code base. This is happening because of two reason. 1. This is because code is not signaling aio_cond from check_aio_completion() in case seq = 0 2. Following changes in the write_thread