Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762947AbYFZNJ4 (ORCPT ); Thu, 26 Jun 2008 09:09:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762179AbYFZMy3 (ORCPT ); Thu, 26 Jun 2008 08:54:29 -0400 Received: from one.firstfloor.org ([213.235.205.2]:57239 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762182AbYFZMy2 (ORCPT ); Thu, 26 Jun 2008 08:54:28 -0400 Message-ID: <48639180.2090005@firstfloor.org> Date: Thu, 26 Jun 2008 14:54:24 +0200 From: Andi Kleen User-Agent: Thunderbird 1.5.0.12 (X11/20060911) MIME-Version: 1.0 To: Jens Axboe CC: FUJITA Tomonori , stern@rowland.harvard.edu, linux-kernel@vger.kernel.org, antonio.lin@alcormicro.com, david.vrabel@csr.com Subject: Re: Scatter-gather list constraints References: <20080626110615U.fujita.tomonori@lab.ntt.co.jp> <20080626143928P.fujita.tomonori@lab.ntt.co.jp> <20080626063559.GJ20851@kernel.dk> <20080626155834I.fujita.tomonori@lab.ntt.co.jp> <20080626123936.GV20851@kernel.dk> In-Reply-To: <20080626123936.GV20851@kernel.dk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 598 Lines: 16 > On the fs side, just setting a hw block size of 1k should fix the > problem, since that'd be your minimum transfer size AND alignment there > even for O_DIRECT IO. XFS used to force 512 byte IOs for its log IO. Not sure that was ever fixed. If it was fixed it likely required a disk format change (I think s390 ran into a problem like this) -Andi -- 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/