[Top] [All Lists]

Re: XFS Direct IO, unaligned block zeroing at 128K boundery

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: XFS Direct IO, unaligned block zeroing at 128K boundery
From: Ajeet Yadav <ajeet.yadav.77@xxxxxxxxx>
Date: Fri, 26 Nov 2010 13:25:36 +0530
Cc: "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=MbI82aNtjxv2ELfPGE1CSFBikOOdOemLFecDOhCQBhE=; b=Bbwa8d9pfrxRKrW8el2x/dErTJ8iO8xtlSTOhBHbxyaFld4wijyMlLBx4agSfg5qHT Byvz7S1BamBZQ1qSoq3UgIJ0C0aFjv6WXdcZd9qMpn5nqc0wgbinfwII7m6gb2PaiK+q Rrmlns+hw6R8fRt8a1RE/GG8fz531ZFDREf94=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=DBVmn+iB2ocrHo8TGGRQ0uQGW1P9hXD3mpdSOFRMP89YD7w42V7JI/lSi/KwGSRn4V QaCyhGxwEfmTX5lCNI9Wu/q65D5lQw6/3BxZgSIdrn148Zhk+jfLSEqRifIpez6Bgt+L 9OmitsTTyArjeevFIvF0jeqaMGZZ6TdUrRh50=
In-reply-to: <20101125095751.GC12187@dastard>
References: <AANLkTi=3BNqaUJGLuCOipQX_eP07QXa6dCBB-nUqmqG0@xxxxxxxxxxxxxx> <20101125095751.GC12187@dastard>
Its my fault,
Our kernel, however we migrated XFS to higher version 2.6.34
We undo the XFS changes from commit 5fe878ae7f82fbf0830dbfaee4c5ca18f3aee442
because our fs/direct_io.c belong to version, and we do not want to change it.

On Thu, Nov 25, 2010 at 3:27 PM, Dave Chinner <david@xxxxxxxxxxxxx> wrote:
On Thu, Nov 25, 2010 at 12:23:11PM +0530, Ajeet Yadav wrote:
> Dear all
> I made a simple script that creates a 2MB file using directio write
> operation,
> The objective was to test with different buffer sizes from 4K-5K-6K..8K, the
> buffer was filled with 5,
> Than take hexdump of file to check data integrity.

what kernel? Can you reproduce it on a mainline kernel? If so,
can you apply the three patches in this thread:


and see if that fixes the problem?

Also, if you are writing new test scripts that demonstrate problems,
it's handy to attach them to your bug reports, or better yet, send
patches to add them to the xfstests suite....


Dave Chinner

<Prev in Thread] Current Thread [Next in Thread>