From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=199.89.1.16 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796047461; b=oohM2zxtSRwsXdQrlIk2KwLgk14crYGJo+DKxMXsHijGaj6SHkTrJf3kyvXwE1eSmq2J rS92xnlcSt4rRbcsLkFIWWpfVVj54yChkE3CglMAS0UdIzxkRO3HRoPh7gLKWf9OeikTU RBtiNfCCuoc0bp9XbHCFVWbJZ+1pfJcwxflYdhGb375BQsIZtWwvZQPsapAnAMdMwm3oB Mj4+9vjtLWF/HvyYPzHPu/5SjOH8nSg3yAgS6of7gxJ0ehpLEtygkl0voZl0o8DrTt2Gm 8m5STzyUECJQT7SQvfmGFTBgWAXNzrzHIuLgazUerixOcMTwMwGYILCQlbd4h6DF6FA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796047461; h=DMARC-Filter:Received:DKIM-Signature:X-Virus-Scanned:Received: Received:Message-ID:Date:MIME-Version:User-Agent:Subject:To:Cc: References:Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; bh=w2byh1vTGwsKp4zk0fUMYm29yoZJXnr4f/j++92DCoI=; b=dWmDzXDxnEfjSVBPfdqhADDVu/sV9H8ZVMqYpMcyVH1XDO+XfwlsmqpfyuQSXwWzeIoZ LgkMYknFID6L4VI4FpI8A10yvxFyfyxNL5WzoFemopD+KOtDTuSIJsLyA4rKOxRnf91hp eSNYJCRoLrEpdNmuAeIRiTaZXwTp0TbU9pdfa9crW6osfpXu2AoLLtojE6gxRDwGFdTu8 UDMLJPqMzQGfvd64kC4OTdVpbPq+vwPeXHbdG+AJhmEUk3j8Z5UM0JKFuLL0HqdJ+Mg72 FhgCxFHoEspjPdguKQaP2pj203E2WibfDNfyFg+Z8YYmhDIVg4mH+tIzxkWgXmUbSaw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=acm.org; spf=pass smtp.mailfrom=acm.org; dkim=pass header.d=acm.org header.i=@acm.org header.a=rsa-sha256 header.s=mr01 header.b=2Pbnonyx; arc=none smtp.remote-ip=199.89.1.16 Received: from 013.lax.mailroute.net (013.lax.mailroute.net [199.89.1.16]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 90585606A327; Mon, 30 Nov 2026 14:04:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 90585606A327 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=acm.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=acm.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=acm.org header.i=@acm.org header.a=rsa-sha256 header.s=mr01 header.b=2Pbnonyx Received: from localhost (localhost [127.0.0.1]) by 013.lax.mailroute.net (Postfix) with ESMTP id 4jdQk60hSkzlfvq8; Mon, 30 Nov 2026 14:04:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=acm.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:content-language:references:subject:subject :user-agent:mime-version:date:date:message-id:received:received; s=mr01; t=1796047452; x=1798639453; bh=w2byh1vTGwsKp4zk0fUMYm29 yoZJXnr4f/j++92DCoI=; b=2PbnonyxedD9QUpByGY5BWOoG2t8oNh4AgG2nDU2 DgY1yE5KgHhMviiax7ooOD1Lgqll3gmtIstgXiYcgpjI+V1v2q4S2od9R7KKIQD6 VXfbmh/qE71X3uTn/0zEOoPOjmYNvD4Z82z23hklLhNBrAOpv/6SjpyV9/4dxpsN c+siGQiVScHk7WwAD2KRrEgYQ2+Y7sDfDNkVJGqA9nYbnbrCwGOiyxKgtZHhuNOd N1oOCJck1OCVx1b/JmW0YDighhDRHJVVpZyEp+cPn86HQFsziQVqIEoo1Lk3ZdwQ s26lcgGcWaIpc3i6htfA5N8FEysxKBWsGZRXA3axUPPCXQ== X-Virus-Scanned: by MailRoute Received: from 013.lax.mailroute.net ([127.0.0.1]) by localhost (013.lax [127.0.0.1]) (mroute_mailscanner, port 10029) with LMTP id xhJh2_fs9YUv; Mon, 30 Nov 2026 14:04:12 +0000 (UTC) Received: from [192.168.51.14] (c-24-6-239-25.hsd1.ca.comcast.net [24.6.239.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bvanassche@acm.org) by 013.lax.mailroute.net (Postfix) with ESMTPSA id 4jdQk35p4rzlfvpb; Mon, 30 Nov 2026 14:04:11 +0000 (UTC) Message-ID: <6eed3fd1-3c0e-42ac-8d86-634522516f05@acm.org> Date: Mon, 30 Nov 2026 06:04:09 -0800 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v9] loop: defer the queue limits clear to a workqueue To: Tao Cui Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Shin'ichiro Kawasaki , Jens Axboe , Christoph Hellwig , Tetsuo Handa , cuitao@kylinos.cn References: <20261126054223.176824-1-cui.tao@linux.dev> <20261126135628.495497-1-cui.tao@linux.dev> <46cefe96-a193-40f9-bc1a-facc73cf6afa@acm.org> <0523850b-2049-41ff-8dfa-ca3a8f055a5f@linux.dev> Content-Language: en-US From: Bart Van Assche In-Reply-To: <0523850b-2049-41ff-8dfa-ca3a8f055a5f@linux.dev> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 11/30/26 2:20 AM, Tao Cui wrote: > I'm planning to send this as v10 unless you see a problem with the > design. Are there any lo_fallocate() callers that expect that loop_clear_limits() has completed by the time lo_fallocate() returns? Thanks, Bart.