Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266607AbUAWRhc (ORCPT ); Fri, 23 Jan 2004 12:37:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266609AbUAWRhc (ORCPT ); Fri, 23 Jan 2004 12:37:32 -0500 Received: from mail0-96.ewetel.de ([212.6.122.96]:51369 "EHLO mail0.ewetel.de") by vger.kernel.org with ESMTP id S266607AbUAWRhb (ORCPT ); Fri, 23 Jan 2004 12:37:31 -0500 Date: Fri, 23 Jan 2004 18:37:20 +0100 (CET) From: Pascal Schmidt To: Jens Axboe cc: Bartlomiej Zolnierkiewicz , Subject: Re: [PATCH] make ide-cd handle non-2kB sector sizes In-Reply-To: <20040123161846.GR2734@suse.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-CheckCompat: OK Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 615 Lines: 19 On Fri, 23 Jan 2004, Jens Axboe wrote: > > I think Jens means storing it only in q->hardsect_size. This way you > > can just use rq->q->hardsect_size << 9 to get sectors_per_frame. > > Yes that's precisely what I mean, there's no need to keep the same info > in several places. Yes, agreed. I'll do a new version based on your and Bart's comments. -- Ciao, Pascal - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/