Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp260505ybj; Fri, 8 May 2020 11:08:53 -0700 (PDT) X-Google-Smtp-Source: APiQypKFLpolGAOaMkyRKoMc5WrEoqAGyXY295GbDnqGGRJwjRbECztRyiPkgTkfsAFYqhmnjhz9 X-Received: by 2002:a05:6402:1d15:: with SMTP id dg21mr3373268edb.13.1588961332960; Fri, 08 May 2020 11:08:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588961332; cv=none; d=google.com; s=arc-20160816; b=Oy6C/BhzeQUt5kLtygpqNSG/Jfu7cjN2qwXKgqltwvGt6QvQGxmRjj5qN167vz2xBt H4Fly/bRLfbHwU9j32YfzbM4SbTZ0wttiA4l8TKbQ+26E62ES0KNxvuQYadloxL8gcLW T3q+5LyvTDo39cQ5uvRij69XFYQYg1UyfTBf5aO0VmeXdkeVoSNiyYFnM2YKwbBAbfrP AZay3Cp3ZqGnEPrI7Rx526alYG8iCi6Yd74jdVOpDjdAGhNCcY3gsTKxafj7xDSd/xOv mF6c1XPk1fXGIQsIARS8fE+m24raS66X6+Y2zYOQlo2Je6Yn7HcAyXgJjBOnrB2ykaAY GUPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=+vtj9kAvnXfdA0IFN6kkpOkjHUwpRBJt7518BSBQldY=; b=DqY/+6/9kFMQQGqil/uMyrR4eZumqscq2LH72BzIf7mkQcqAd9zrymHcfPKlmRgFCx MMDFt1PtFRm2FCwmlw5wFDFGI/zagi/BOGtHe17BqOwIgA0lwcqF3fOoxrMehpPr+0Ln jJUPU6RLd6c6bRorD8xd71IStz7f8tjtY1HxMvPZHjsMyz/5+dsE/xT2ty5PlUsjWcOd YtZuNihYYG1AmJqk7TEBpkrnS3ZcrqtDWeW9emQ4vqIoD5pp/rBW7wq/woWZ4EDQtrtT mRHF/ffkUKWHIdsb+TaodVts7uHgP3H8mmldkft3tm8j5wfXQzXaQ0WyXluJMnDXXYNn jg/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=VLfu18xv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v11si1410076edy.483.2020.05.08.11.08.30; Fri, 08 May 2020 11:08:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=VLfu18xv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727825AbgEHSE7 (ORCPT + 99 others); Fri, 8 May 2020 14:04:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726756AbgEHSE6 (ORCPT ); Fri, 8 May 2020 14:04:58 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BD44C061A0C for ; Fri, 8 May 2020 11:04:58 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id p16so1945591edm.10 for ; Fri, 08 May 2020 11:04:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+vtj9kAvnXfdA0IFN6kkpOkjHUwpRBJt7518BSBQldY=; b=VLfu18xvdyYvX+V3um74QbEgFlho/gmsdlebCehHgRC64LZ2LrwpLSPmFXlKyiifMG /2mXN3cYmzMOG97rtljf0sT2QTUcVKx0FHG3wqHOn7YZJCXdCNGibohHbksMUKyWKlmI u1s1YRJzpU1L2la8Jh5ttA2RLPctTxbiNdxv5J+1g/qta/vl3/3fnC/sNfCJYpUd8mBU rhA0RJUtnY0TDMxjb+AxGbqdOAZaUfuuGplRawkJdhwtGOz/RRQ8kRykAiOe7EfzaLOX DLh537yRKgaNM5aAIB51dRs9O5e+S0jhrluFx3rLNSiCGFuLiqA0Hj3QpKIo8KItLtbA P4DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+vtj9kAvnXfdA0IFN6kkpOkjHUwpRBJt7518BSBQldY=; b=q3gSQX9HN0XJ68/UyTO5EA+JhHU0kH1pyXuc45rIw+KG8OCxEBM6+f+Xt/IlwK8YrX KH7qOJgIY9Qp/fb0fCh0k6Jjtn76udJmPlzDTc28fG5KVj6qNjHQGPv13DxC3Gt4kc/0 wnoOnJkqo6ZrDaQxZvBoMpF4ChuEjnWkLM9l0reo6vN/uonHzl/SMiE7tkwyRb4EwmIO Noacry12luvlHq03+2AXrw5s0QrVhFYlbrn1QwobhRJa+Tgdcjbesuf1QWGjvyplCdrd drS/kG7AHVIhpH/bjuiTmnLbhCHjtfFhVD5fMibE+93uKUT+f6gtQY/z4tgckTnYFgR4 TY5A== X-Gm-Message-State: AGi0PuarXcU6+i26jlt9hAONxVFjPCeBmAw9TVnsdgYnz8BBkbgj/gKh +SQUYTpf2bkvFxJuGQfGrI/Dtgjd2WZduBPkf5aqtA== X-Received: by 2002:a50:c3c2:: with SMTP id i2mr3146588edf.93.1588961096815; Fri, 08 May 2020 11:04:56 -0700 (PDT) MIME-Version: 1.0 References: <20200508161517.252308-1-hch@lst.de> In-Reply-To: <20200508161517.252308-1-hch@lst.de> From: Dan Williams Date: Fri, 8 May 2020 11:04:45 -0700 Message-ID: Subject: Re: remove a few uses of ->queuedata To: Christoph Hellwig Cc: Jens Axboe , Jim Paris , Geoff Levand , Joshua Morris , Philip Kelleher , Minchan Kim , Nitin Gupta , Sergey Senozhatsky , linux-m68k@lists.linux-m68k.org, Linux Kernel Mailing List , linux-xtensa@linux-xtensa.org, drbd-dev@lists.linbit.com, linux-block@vger.kernel.org, linuxppc-dev , linux-bcache@vger.kernel.org, linux-raid , linux-nvdimm Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 8, 2020 at 9:16 AM Christoph Hellwig wrote: > > Hi all, > > various bio based drivers use queue->queuedata despite already having > set up disk->private_data, which can be used just as easily. This > series cleans them up to only use a single private data pointer. ...but isn't the queue pretty much guaranteed to be cache hot and the gendisk cache cold? I'm not immediately seeing what else needs the gendisk in the I/O path. Is there another motivation I'm missing?