From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id pBL4aBw3214907 for ; Tue, 20 Dec 2011 22:36:11 -0600 Date: Tue, 20 Dec 2011 22:36:38 -0600 From: Ben Myers Subject: Re: [PATCH 2/2] xfs: fix endian conversion issue in discard code Message-ID: <20111221043638.GR29840@sgi.com> References: <1324426062-21505-1-git-send-email-david@fromorbit.com> <1324426062-21505-3-git-send-email-david@fromorbit.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1324426062-21505-3-git-send-email-david@fromorbit.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Dave Chinner Cc: xfs@oss.sgi.com On Wed, Dec 21, 2011 at 11:07:42AM +1100, Dave Chinner wrote: > From: Dave Chinner > > When finding the longest extent in an AG, we read the value directly > out of the AGF buffer without endian conversion. This will give an > incorrect length, resulting in FITRIM operations potentially not > trimming everything that it should. Looks good to me. > Signed-off-by: Dave Chinner Reviewed-by: Ben Myers _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs