Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp12282pxb; Mon, 8 Feb 2021 13:43:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJxxv8oO6gSPgB42KxKhDDOfyhNlwftS4iSQMUZeyMrK11PW1YYh4w+NN1kPcSSODpdEnE8f X-Received: by 2002:a17:906:2993:: with SMTP id x19mr18133765eje.409.1612820581435; Mon, 08 Feb 2021 13:43:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612820581; cv=none; d=google.com; s=arc-20160816; b=UF2egGYpm/qV3ZhFTpMH80MHnVuW0IgAYfeEdRJielf4qju6TUffHVIi1RtenC1gQJ cU49jJOJAVDc0ovg5HI61XrK/gib6OG1VpG8hM0hLDig6qZYjnKME4suRXnHFfgSj8me zzX0fmeYF4gXrJ//R+pzm6CrazHx2ueRPyLNuk6seU1+spZvx5zfV1aZqRjJoZ1jL/Tb WDoxFb/4zSo9GjyeUKg5n2Ahuw/LCVsrbfzaBKhcpTv+R1uSrTbdNXDg5D6MCR5719LH nYvGJheqy0Vx6Bklkl8WUbig8nSq4VGYuAV5plc06Su8oFOH2rGGaiH2UiBY9te8Y/Yo wR6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=m/lRnODCG9SGDqKRNpstUTXKkHfDyl+g15AVZBtFd9w=; b=AoHwU9Nl6FiJuLSF6xfPd68NQi/gpYQ4B/4ge8pg2TaFoNf+5EU7JhlWgHgBAesaSX sy+KiuY0RDq1rqn8D9HZ1XC55NzUH6D69RD2m3gxkCaML35CodNHDdRJNqH9DBBnq3GB PM1OyySPaCt94zP69G10ixPynDtjXvM7yuNulmLk/TOBCCR762alKDLcOJ1G1NdT7Gm9 iC98vj4urAsf3MIZmzTC0+AfyEIJE7JXZYcGcTRAs8yQoCwVSfm8S32J1KT+JDv6XrTu 3F77Mj3dgZEHpM/X8nj8Sp4nyDKcoedYLWC4q4Bub4tY9P2TMmjnvnsmfLYOWzYkFfc9 ZF/Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c10si293318edk.143.2021.02.08.13.42.38; Mon, 08 Feb 2021 13:43:01 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236476AbhBHVkt (ORCPT + 99 others); Mon, 8 Feb 2021 16:40:49 -0500 Received: from gardel.0pointer.net ([85.214.157.71]:34884 "EHLO gardel.0pointer.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235367AbhBHVDJ (ORCPT ); Mon, 8 Feb 2021 16:03:09 -0500 X-Greylist: delayed 431 seconds by postgrey-1.27 at vger.kernel.org; Mon, 08 Feb 2021 16:03:07 EST Received: from gardel-login.0pointer.net (gardel-mail [85.214.157.71]) by gardel.0pointer.net (Postfix) with ESMTP id 175BFE809B2; Mon, 8 Feb 2021 21:55:15 +0100 (CET) Received: by gardel-login.0pointer.net (Postfix, from userid 1000) id AA8901603F5; Mon, 8 Feb 2021 21:55:14 +0100 (CET) Date: Mon, 8 Feb 2021 21:55:14 +0100 From: Lennart Poettering To: Matteo Croce Cc: linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Boccassi , Jens Axboe , Alexander Viro Subject: Re: [PATCH 0/5] block: add a sequence number to disks Message-ID: <20210208205514.GA46668@gardel-login> References: <20210206000903.215028-1-mcroce@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210206000903.215028-1-mcroce@linux.microsoft.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sa, 06.02.21 01:08, Matteo Croce (mcroce@linux.microsoft.com) wrote: > From: Matteo Croce > > With this series a monotonically increasing number is added to disks, > precisely in the genhd struct, and it's exported in sysfs and uevent. > > This helps the userspace correlate events for devices that reuse the > same device, like loop. > > The first patch is the core one, the 2..4 expose the information in > different ways, while the last one increase the sequence number for > loop devices at every attach. Patch set looks excellent to me. This would be great to have for the systems project, as it would allow us to fix some major races around loop device allocation, that are relatively easily triggered on loaded systems. Lennart