From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:53051 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754473AbcEEMhG (ORCPT ); Thu, 5 May 2016 08:37:06 -0400 Date: Thu, 5 May 2016 05:37:04 -0700 From: Greg KH To: David Sterba Cc: stable@vger.kernel.org Subject: Re: [PATCH 01/17] btrfs: reada: Fix in-segment calculation for reada Message-ID: <20160505123704.GA2442@kroah.com> References: <20160505094018.GA29353@twin.jikos.cz> <1462441418-2409-1-git-send-email-dsterba@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1462441418-2409-1-git-send-email-dsterba@suse.com> Sender: stable-owner@vger.kernel.org List-ID: On Thu, May 05, 2016 at 11:43:38AM +0200, David Sterba wrote: > From: Zhao Lei > > reada_zone->end is end pos of segment: > end = start + cache->key.offset - 1; > > So we need to use "<=" in condition to judge is a pos in the > segment. > > The problem happened rearly, because logical pos rarely pointed > to last 4k of a blockgroup, but we need to fix it to make code > right in logic. > > Signed-off-by: Zhao Lei > Signed-off-by: David Sterba > --- > fs/btrfs/reada.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Can you put the number of the commit in Linus's tree _in_ the patch itself somewhere, either in the format that I use for when I do commits to the stable branch (first line of the changelog text), or in the signed-off-by: area like git cherry-pick does? This way, as a list in patch 0/X separate from the commits and even the descriptions, is pretty impossible to easily match up. Can you redo this series and resend it with that fix? thanks, greg k-h