Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756805AbZGAA22 (ORCPT ); Tue, 30 Jun 2009 20:28:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753387AbZGAA2V (ORCPT ); Tue, 30 Jun 2009 20:28:21 -0400 Received: from mail.parknet.ad.jp ([210.171.162.6]:46929 "EHLO mail.officemail.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750888AbZGAA2U (ORCPT ); Tue, 30 Jun 2009 20:28:20 -0400 From: OGAWA Hirofumi To: steve@digidescorp.com Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] FAT: optimize FSINFO writeback References: <1246392130-4261-1-git-send-email-steve@digidescorp.com> <87ocs5h238.fsf@devron.myhome.or.jp> <1246400345.2247.4.camel@iscandar.digidescorp.com> Date: Wed, 01 Jul 2009 09:28:20 +0900 In-Reply-To: <1246400345.2247.4.camel@iscandar.digidescorp.com> (Steven J. Magnani's message of "Tue, 30 Jun 2009 17:19:05 -0500") Message-ID: <873a9hfdqz.fsf@devron.myhome.or.jp> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Anti-Virus: Kaspersky Anti-Virus for MailServers 5.5.10/RELEASE, bases: 24052007 #308098, status: clean Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 886 Lines: 24 "Steven J. Magnani" writes: >> Well, now, we are using sb->s_dirty for fsinfo, so I'm wondering why >> this happen frequently. > > My scenario was modifying a sector of an existing file and using > fdatasync() to flush it. The FSINFO sector was being updated even though > nothing about the FAT layout had changed. I see. Probably, I'm missing something, or handling of sb->s_dirt may be buggy, or something. If it was fixed, is this patch still needed? I guess this patch would still be useful on some case though. If you can explain, it would be good. Thanks. -- OGAWA Hirofumi -- 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/