Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp1266555rdg; Fri, 11 Aug 2023 16:00:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGKdEjZyod1LRavUYzc2Lm1C2ALV5Epomj30u3PRUgGe1wwwj3znCU4KEqQtzzDrCE4QNnn X-Received: by 2002:a05:6358:724e:b0:129:c9c0:ca64 with SMTP id i14-20020a056358724e00b00129c9c0ca64mr4578165rwa.15.1691794855189; Fri, 11 Aug 2023 16:00:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691794855; cv=none; d=google.com; s=arc-20160816; b=x/5psGPPG5ig6dxmRRm6ZvY9MuQy1ApY/dqYReDwadHnh7d9+XuzhleomgBni6YFoW 1cJP2nwGPJxQRi+WhZex1DCxf11G10+vIcAR8g6yU71o4DGnKq047EyacOuIFDXCll8x QXFyRpa1XvTvdL8P99Db/lwmRuvpOm0nUIz/LV45l0RGPSe6/cXC908eG119aKfwVWmL rw/pRT5XUXsHWzmHq2r32OzaU4CGXDN09LgKiWX7UUTjzgQiiqUwCfFXeDlvdx/QNiq/ xC3jSEELzh4bsN+x3bRNlfZoqkxSrPOsmyDytO+cBFdAvTkc+w50kAZmpshTYrgJGZ5I ENHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=o52cWlwXR3N6/ms+y9tYy0bzSVEqexTODJML7eEO/+8=; fh=LbyAfdS+41vTauyo6UTwhGYNE4G9gAGssrH3AwqF4L4=; b=GTiXN4E55Q7Apt1dzQwM1zJRVL5Gp7wkJB9TJ1T3AqQZ2nyHzTJTGw8KxxYUhU1SJs ZdwoHvFxzAEO3EywW/6h3Al87CtGfCsdvFRw68vdDeHGh2Eb6C4cZYFJ2RiTBoJn5R01 FJu2q2w5qz/v4t/dU9b+HHyI1STWbNIqA1mBFeQWF/ML5WwgGScZBD6fOzI/RQX26igI 5JpZnmB+8cT9hzc3Pn5xi5pMZsXaEowl0x+f5ViKU0W1LVxxyeMDKQ/CmAD3p9apwvBW mBF5mG7NOhIwOAugKWxrVCNIc8stIeX4Xg1XwRIWyQbyO6V6RpQboPX9eGi+YetXPSAh xgFQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u144-20020a627996000000b0068708a8e6c8si3115582pfc.122.2023.08.11.16.00.42; Fri, 11 Aug 2023 16:00:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236816AbjHKWLR (ORCPT + 99 others); Fri, 11 Aug 2023 18:11:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236565AbjHKWLM (ORCPT ); Fri, 11 Aug 2023 18:11:12 -0400 Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDFA1358B; Fri, 11 Aug 2023 15:11:08 -0700 (PDT) Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-1bc8a2f71eeso18350115ad.0; Fri, 11 Aug 2023 15:11:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691791868; x=1692396668; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=o52cWlwXR3N6/ms+y9tYy0bzSVEqexTODJML7eEO/+8=; b=EQ2sZul3d57pqCL8M8JVf1ldHkCXVvqzCEvH+txVulk9x2C3v8ffvTOm4L6gxElL1s N2QTT4r0VkOzvGS7zPRkHlsmnvuGVpUSwhbEnmi7xoTzL2qnFqKxRQsnb9APMIvWtIjZ Cu78wspgNNGRJdY+B49+0ov+c6soFd98jGWmhtDLuGlOii/Eok8pzCWRLmSeOT7iaR3U FQ5Bbs+Wh7mw1W0HUtYBXpnTnfojTs2TM5OzK0IG8xFdpAwxrITEyXsNshPtbO3+v2Dk pImFJ1A0etPF0UJWJaConocr2c2ADpFOdseJE3/w/Tck8f8i9q9qKVMnFx9fn0BxybE6 tLjQ== X-Gm-Message-State: AOJu0YxLFZVlwPf9Ya+FTbjQhIT2L6qgX4N+LjXxfIeM6ELlm1syCRgP OaQrgzbwnuurtKFj4bmAptc= X-Received: by 2002:a17:903:185:b0:1bc:2036:2219 with SMTP id z5-20020a170903018500b001bc20362219mr2795385plg.41.1691791868121; Fri, 11 Aug 2023 15:11:08 -0700 (PDT) Received: from ?IPV6:2620:15c:211:201:cdd8:4c3:2f3c:adea? ([2620:15c:211:201:cdd8:4c3:2f3c:adea]) by smtp.gmail.com with ESMTPSA id u9-20020a17090282c900b001bc53321392sm4413845plz.69.2023.08.11.15.11.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Aug 2023 15:11:07 -0700 (PDT) Message-ID: <57558d7b-4444-b709-60bf-5a061cd6c3e9@acm.org> Date: Fri, 11 Aug 2023 15:11:05 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [dm-devel] [PATCH v14 04/11] block: add emulation for copy Content-Language: en-US To: Nitesh Shetty , Jens Axboe , Jonathan Corbet , Alasdair Kergon , Mike Snitzer , dm-devel@redhat.com, Keith Busch , Christoph Hellwig , Sagi Grimberg , Chaitanya Kulkarni , Alexander Viro , Christian Brauner Cc: Vincent Fu , martin.petersen@oracle.com, linux-doc@vger.kernel.org, gost.dev@samsung.com, Anuj Gupta , linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, mcgrof@kernel.org, dlemoal@kernel.org, linux-fsdevel@vger.kernel.org References: <20230811105300.15889-1-nj.shetty@samsung.com> <20230811105300.15889-5-nj.shetty@samsung.com> From: Bart Van Assche In-Reply-To: <20230811105300.15889-5-nj.shetty@samsung.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/11/23 03:52, Nitesh Shetty wrote: > + schedule_work(&emulation_io->emulation_work); schedule_work() uses system_wq. This won't work for all users since there are no latency guarantees for system_wq. Thanks, Bart.