Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp323656rdd; Tue, 9 Jan 2024 05:29:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IG6vQjfYtMV5Yuc45g26gFHCbTz+Z/YLxVtKMyb/Lbxa9hQTzMDmEAjMprhIk9W5Iafd79h X-Received: by 2002:a05:620a:1374:b0:783:2d6c:9bed with SMTP id d20-20020a05620a137400b007832d6c9bedmr1053686qkl.3.1704806990901; Tue, 09 Jan 2024 05:29:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704806990; cv=none; d=google.com; s=arc-20160816; b=WC7Ic2ChZ2zE0SM4hcgCcOUHetSVQv50WUS3UgEBmRdV/kn+4uy/vZ+JKiuYeb89N1 hIfka443qt3GYFywf5e5eulD1BO+qL2znVWXfHiGI9jkITt8uJBYPvEY7KunyRwUFHqX ollRn5A/BRUz6dNid9bx2Xgrhc4RmRtUiQZlbPxpE9jYNqtJ6/jFl5dUIIz/c6PzWsR5 H/JW0L15JfiAfiJY5FMrJcNMav06r7doGWvA7Hxk7PAfgPLSFMkB4X2Izf7JwUPv46+8 FSLE2C7iov46U+D/RNiq7sjJgIw6Ng1Txrlh7Z2SS09QsrEVDW+HCpjOGOTi6n661d1w Mw+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=15WUaUtJR6dbWoV6G1ufbk9qhY55jeRmgoJT7AkGO8Y=; fh=aWUpJQAWHoM7klNs0YVX7d44sBCqsOMGAauWv6rMoaA=; b=DzLbwca1yMyimpGMgx93Q40KZu2kRmRl0Q3vu+6ZPaQ2L9zxGHe9ZuL/24czK+CMqD Yr4R/GpUHpcM6oBAlACKgmTVV1qBkuPGvAPVEZNPMXj6RK6OcEkm3b2Yag24Ie6BRdMA UQnUL5+KMIJiSnR5neA3ZeHOVOoNTFDsa5tg1T9UTx8Bq/qBAzqg0phDo7gIRMrFpAiO WA8O54aFOA23+Rq7Eop/Ik3kf71PTmeY7TtWpWEbQhwYoYb8qbav5C6+ZsJTun8rBD9z N+mAno+ZQe4kU21PJivGw3OrhXcpEE9zse5K6vEWgDkzZqqBN5Xl+nIak8hFeolpo/n2 4Aow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=EsIS+vGQ; spf=pass (google.com: domain of linux-kernel+bounces-20895-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20895-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d6-20020a05620a158600b007815f50b903si1989763qkk.188.2024.01.09.05.29.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 05:29:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20895-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=EsIS+vGQ; spf=pass (google.com: domain of linux-kernel+bounces-20895-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20895-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 94BF51C2440D for ; Tue, 9 Jan 2024 13:29:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ACC7238FA7; Tue, 9 Jan 2024 13:29:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="EsIS+vGQ" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 467F338F95 for ; Tue, 9 Jan 2024 13:29:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1704806980; 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=15WUaUtJR6dbWoV6G1ufbk9qhY55jeRmgoJT7AkGO8Y=; b=EsIS+vGQgcheTHGYVhOufhqgm6SVto3/cy0hNW/dsoUXX50vmS0w7dugaE2w+HbBD0p3TI n2l4LA3tkg0cFSCThkPJH6eBWx2nETv1EDBUvg+2oHOCXfBJyo1x0pWknq+Ol3ndH/7aEb ZnaYjQj4tG+RXYTOe8EMKVp1gXF5n6c= Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-594-ILWMBoojOBq-w87_asJT-g-1; Tue, 09 Jan 2024 08:29:39 -0500 X-MC-Unique: ILWMBoojOBq-w87_asJT-g-1 Received: by mail-qt1-f200.google.com with SMTP id d75a77b69052e-427e371c28cso47794561cf.0 for ; Tue, 09 Jan 2024 05:29:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704806978; x=1705411778; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=15WUaUtJR6dbWoV6G1ufbk9qhY55jeRmgoJT7AkGO8Y=; b=IjMhe0IV4bFhHqTitLn4l7nhaerT/a37kD67d/Ogl31g3A4lYvyW5k46nzK3aEaw02 ue0EVwPx4V8P1lZsazFlW2koGgA4r4XGmxRq4QxrnEpFs02iwr3ZKPrdIvlaqZH9IdA6 9VxVJJEZkHusQUdvcIQ5mS18P2PHho24TzpmG9q93fiVP7oOFC8pBZsG+F+3T9Cv03kQ uHYgbZuG1X0ATmCH9JG3wokUrbFKmX1YOrtjRKnl7TpH8HbNYMljsEcFWx+kEZbxiYmk hwrO2gPIN+LWw5UZDJ6/PY8hNuKlwrB9ad76pv1juaKoSrVqEjB+gUSBqUOCffLiDyXE vbug== X-Gm-Message-State: AOJu0YzAZAjp1a0wNqcCIEQSaT8/XqePUKLqaSanbAymQGXSD4lOzswH NdQrZkPCBZ7Kw0X8NZPpB7IUCPicqlqEnXN8FLsWKKoZxgwWtIILZ2VesPBcFoM4YOetcti50uf rSSKXyFFh0Yj+kSIMbCMl1XJAcT4GLhwv X-Received: by 2002:a05:622a:245:b0:429:a2bc:3173 with SMTP id c5-20020a05622a024500b00429a2bc3173mr1630290qtx.124.1704806978656; Tue, 09 Jan 2024 05:29:38 -0800 (PST) X-Received: by 2002:a05:622a:245:b0:429:a2bc:3173 with SMTP id c5-20020a05622a024500b00429a2bc3173mr1630278qtx.124.1704806978408; Tue, 09 Jan 2024 05:29:38 -0800 (PST) Received: from fedora ([136.56.198.188]) by smtp.gmail.com with ESMTPSA id c1-20020ac853c1000000b004181e5a724csm849005qtq.88.2024.01.09.05.29.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 05:29:37 -0800 (PST) Date: Tue, 9 Jan 2024 08:29:36 -0500 From: Audra Mitchell To: Tejun Heo Cc: Audra Mitchell , linux-kernel@vger.kernel.org, raquini@redhat.com, jiangshanlai@gmail.com, hirokazu.yamauchi.hk@hitachi.com, Laurence Oberman , Donald Douwsma Subject: Re: [PATCH] workqueue.c: Change workqueue to accept variable length name Message-ID: References: <20231215193954.1785069-1-audra@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Sat, Dec 23, 2023 at 02:53:52AM +0900, Tejun Heo wrote: > Hello, > > On Fri, Dec 22, 2023 at 10:35:03AM -0500, Audra Mitchell wrote: > > We have one concrete example from a Hitachi block device driver (notice the > > 47a1/47a2 gets > > cut off with the workqueue name): > > > > Device Workqueue Name (24char zero terminated) > > /dev/sd0279b080047a1 xfs-blockgc/sd0279b0800 > > /dev/sd0279b080047a2 xfs-blockgc/sd0279b0800 > > I see, so it's a combination of somewhat lengthy device names and then xfs > adding a prefix to them. Neither is particularly long but the combination > is. > > > I can also imagine this issue being present with nvme devices, but the > > request came from Hitachi. > > I believe it would be up to the device driver to determine if the name can > > be shortened and I've > > included Hitachi requester on this email thread. > > > > Alternatively, we could increase the size of the WQ_NAME_LEN, but it seems > > highly likely we are > > going to butt against the static size again in the future. We previously > > had variable length names > > and it seems (to me) to be the best long term path forward. > > Can we just bump the length to 32 and trigger a warning if the requested > name overruns? I want to provide some pressure to limit the length of the > name so that it doesn't get too long over time. If folks bump into it and > can't find a different way to deal with it, we can get bring back the > subject. Hey Tejun! Hope you had a nice holiday. I just got back from a bit of a break and will work on your suggestions this week. Thanks a bunch for your feedback! - Audra