Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753276AbXJAJrY (ORCPT ); Mon, 1 Oct 2007 05:47:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751200AbXJAJrS (ORCPT ); Mon, 1 Oct 2007 05:47:18 -0400 Received: from coyote.holtmann.net ([217.160.111.169]:52006 "EHLO mail.holtmann.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751120AbXJAJrR (ORCPT ); Mon, 1 Oct 2007 05:47:17 -0400 Subject: Re: bluetooth: hci_sysfs work queue problem From: Marcel Holtmann To: Dave Young Cc: bluez-devel@lists.sourceforge.net, LKML In-Reply-To: References: Content-Type: text/plain Date: Mon, 01 Oct 2007 11:45:56 +0200 Message-Id: <1191231956.6484.104.camel@aeonflux.holtmann.net> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 644 Lines: 20 Hi Dave, > The hci_sysfs uses work queue to finish the sysfs add/del fuction. > But when the same device connection failed, if another connection of > same device come in before the delete work finish, sysfs will warn > about duplicate filename creating. which kernel are we talking about. This problem should not exist anymore. However the usage of a work queue is unavoidable. Regards Marcel - 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/