From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2655FC433EF for ; Wed, 29 Jun 2022 10:21:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233193AbiF2KVA (ORCPT ); Wed, 29 Jun 2022 06:21:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233285AbiF2KU7 (ORCPT ); Wed, 29 Jun 2022 06:20:59 -0400 Received: from out1.migadu.com (out1.migadu.com [91.121.223.63]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8360F2CDEA for ; Wed, 29 Jun 2022 03:20:57 -0700 (PDT) Date: Wed, 29 Jun 2022 20:20:47 +1000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jookia.org; s=key1; t=1656498055; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WjcGeJFro2EiGRKcIX4snppxmD4eF5HXiDEKexHP+yY=; b=kSBRLyelY2cd3rVGqFbRjRNh8KitJBGLaRlZAL6DpSRRMB4aYCMQTZD9QNfTtiCL5KfyHM 1S08HASIaxHrDt5Cj5aC/9Tm8bYgOa8t82LIuNX2CIhbEPCy7RFNuJ7n5pBpL0ucdWxpEo wjKXyC6rzO2PpbLXhjRHMtgAYMd3ncjcWY+adf2sX7GA4do/E8hvtI1iQ+tPFDxukKVprP 2fKtAQqoyBsUTWae6B0yv2Q2vIAQWnpG+wo93oTUccx+Mb/aq2MpdbdRq6EN4MGq9xuSed eAqkOIqsazP9ZDOWNVHAuxqIYQjsQ/bR+PLNHtijNAcLAdTh4/Z6Z/PjUS3t9Q== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Jookia To: Greg KH Cc: linux-usb@vger.kernel.org Subject: Re: acm_port_shutdown hangs for 30 seconds Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: jookia.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Wed, Jun 29, 2022 at 10:37:55AM +0200, Greg KH wrote: > The close is timing out as it tries to flush the data to the device > which is no longer responding. So this kind of is expected behavior, > sorry. That makes sense. I'm guessing that changing this behaviour to be asynchronous would break applications that rely on the return code from close() to say EIO if it does that. > > greg k-h Jookia.