From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 31 May 2018 09:03:07 +0200 From: Christoph Hellwig To: "Darrick J. Wong" Cc: Christoph Hellwig , linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 13/18] xfs: don't look at buffer heads in xfs_add_to_ioend Message-ID: <20180531070307.GA32051@lst.de> References: <20180530100013.31358-1-hch@lst.de> <20180530100013.31358-14-hch@lst.de> <20180530175529.GQ837@magnolia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180530175529.GQ837@magnolia> Sender: owner-linux-mm@kvack.org List-ID: On Wed, May 30, 2018 at 10:55:29AM -0700, Darrick J. Wong wrote: > > + sector = xfs_fsb_to_db(ip, wpc->imap.br_startblock) + > > + ((offset - XFS_FSB_TO_B(mp, wpc->imap.br_startoff)) >> 9); > > " >> SECTOR_SHIFT" here? If so, I can fix this on its way in. The >> 9 that until very recently was used everywhere makes it nicely fit on two lines. But the fixup is ok with me, too.