Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp2143070pxu; Fri, 9 Oct 2020 09:00:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyiNmZWkY7aHct3r2BqKClhFZQPmG7qh0gaH7FAuVXygE16wAmcr77LkY2GqaXCbD6nHdQA X-Received: by 2002:a17:906:6545:: with SMTP id u5mr14832515ejn.346.1602259202363; Fri, 09 Oct 2020 09:00:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602259202; cv=none; d=google.com; s=arc-20160816; b=dIaC9o2+1+5bJEUFixSleur80mVG9c+QOIetyJcHRX0ulwIJcXzttqVRHo+kMcdioT llkFAZqHJWR8MUNx14XpL6OiR0GTQLGsg4qD6bJ4K151wuhYY3e0OZgsW6dGAoIUMUZT ubk1KqM5rrRtTi9ac9Hqdy6fqxBN+ysTf5tubNyE3ynuzeMFUKodgFOSaT0HYs/dixlx 0tzG/HlBKzhINxdwshcUwXnXtbQtMq1dprpwoySEC3ox4RZitLbGw86p90Z54XL4nmM8 ZhGTj50c/g/0hHh1AI5nvdQvddueZ+0OaQfhuVC+dQqdn5gRsd5HrzJeQfSS5KzH0ftZ TV0Q== 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=7+2dG+0xa2crsm90yFgh8uNmLhro7Kod3QZk4e7D4Eg=; b=LI83Z7lrCYVFFa6LDJxz9ruVjJPxCBd5lLi/qMk0Xu6A/U3BqbBGj2pLJ4+zmob+Pr jIuZGPr+yrFlLgNxaEFIxXDwsO85DC0pzv7oaY250Z25vqoNYh2zlMipDV9UpG/CL7xB bOSYyy16naWMJEOMR0+XBkGxsZnNvjo2qTy0uNw7WGgL1PTRXuZtJLqC/RYfCeLBRFwh r/JodvOnbReqZ0q6JBT45l6S+YS3KWEWR2VTHfDbCfrPgn5Z3AUHrjeeNHNYVt73CnrO Fwla9v8lELeQwJcoDB5YWz47OCit5hq0w+/Wi2eyzsdrgEeD5rREcrtCQcgAkRCoBAgf gH1w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-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 pv2si5954123ejb.681.2020.10.09.08.59.31; Fri, 09 Oct 2020 09:00:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389252AbgJIP6v (ORCPT + 99 others); Fri, 9 Oct 2020 11:58:51 -0400 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:35487 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2389135AbgJIP6v (ORCPT ); Fri, 9 Oct 2020 11:58:51 -0400 Received: from callcc.thunk.org (pool-72-74-133-215.bstnma.fios.verizon.net [72.74.133.215]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 099FwhHJ008865 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 9 Oct 2020 11:58:44 -0400 Received: by callcc.thunk.org (Postfix, from userid 15806) id 73313420107; Fri, 9 Oct 2020 11:58:43 -0400 (EDT) Date: Fri, 9 Oct 2020 11:58:43 -0400 From: "Theodore Y. Ts'o" To: Sedat Dilek Cc: Ritesh Harjani , linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, jack@suse.cz, anju@linux.vnet.ibm.com, "Aneesh Kumar K . V" Subject: Re: [PATCH 1/1] ext4: Fix bs < ps issue reported with dioread_nolock mount opt Message-ID: <20201009155843.GL235506@mit.edu> References: <22e5c5f9-c06b-5c49-d165-8f194aad107b@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Fri, Oct 09, 2020 at 12:18:23PM +0200, Sedat Dilek wrote: > > > Fixes: tag should be 12 digits (see [1]). > > > ( Seen while walking through ext-dev Git commits. ) > > > > Thanks Sedat, I guess it should be minimum 12 chars [1] Right, the point is that the commit ID referenced should be at least 12 bytes to avoid ambiguity. There's nothing really wrong with using more than 12 bytes. I sometimes use 16, myself. It does look like there is a (mostly harmless) inconsistency between lines 177 and 183 of submitting-patches.rst. > In my ~/.gitconfig: > > [core] > abbrev = 12 > > # Check for 'Fixes:' tag used in the Linux-kernel development process > (Thanks Kalle Valo).2 > # Link: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst > # Usage: $ git log --format=fixes | head -5 > [pretty] > fixes = Fixes: %h (\"%s\") > > Hope this is useful for others. Personally, I find cutting and pasting the full SHA-1 hash and description, and then cutting down the hash in emacs to be more convenient, since I generaslly have the git commit from "git log" in terminal window anyway. But whatever works for each developer. :-) - Ted