Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753529Ab3IJQpP (ORCPT ); Tue, 10 Sep 2013 12:45:15 -0400 Received: from mail-wg0-f52.google.com ([74.125.82.52]:38572 "EHLO mail-wg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753406Ab3IJQpM (ORCPT ); Tue, 10 Sep 2013 12:45:12 -0400 MIME-Version: 1.0 In-Reply-To: <16357.1378816473@warthog.procyon.org.uk> References: <16357.1378816473@warthog.procyon.org.uk> Date: Tue, 10 Sep 2013 12:45:11 -0400 Message-ID: Subject: Re: [PATCH] fscache: check consistency does not decrement refcount From: Milosz Tanski To: Sage Weil Cc: ceph-devel , "Yan, Zheng" , "linux-cachefs@redhat.com" , "linux-fsdevel@vger.kernel.org" , linux-kernel@vger.kernel.org, David Howells Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1761 Lines: 43 Sage, Can you submit to the upstream next in your next round of fixes (with David's ack). Thanks, - Milosz P.S: Thanks David. On Tue, Sep 10, 2013 at 8:34 AM, David Howells wrote: > Milosz Tanski wrote: > >> __fscache_check_consistency() does not decrement the count of operations >> active after it finishes in the success case. This leads to a hung tasks on >> cookie de-registration (commonly in inode eviction). >> >> INFO: task kworker/1:2:4214 blocked for more than 120 seconds. >> kworker/1:2 D ffff880443513fc0 0 4214 2 0x00000000 >> Workqueue: ceph-msgr con_work [libceph] >> ... >> Call Trace: >> [] ? _raw_spin_unlock_irqrestore+0x16/0x20 >> [] ? fscache_wait_bit_interruptible+0x30/0x30 [fscache] >> [] schedule+0x29/0x70 >> [] fscache_wait_atomic_t+0xe/0x20 [fscache] >> [] out_of_line_wait_on_atomic_t+0x9f/0xe0 >> [] ? autoremove_wake_function+0x40/0x40 >> [] __fscache_relinquish_cookie+0x15c/0x310 [fscache] >> [] ceph_fscache_unregister_inode_cookie+0x3e/0x50 [ceph] >> [] ceph_destroy_inode+0x33/0x200 [ceph] >> [] ? __fsnotify_inode_delete+0xe/0x10 >> [] destroy_inode+0x3c/0x70 >> [] evict+0x119/0x1b0 >> >> Signed-off-by: Milosz Tanski > > Acked-by: David Howells -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/