From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Sandeen Subject: Re: [PATCH -V2 3/5] ext4: Fix the race between read_block_bitmap and mark_diskspace_used Date: Fri, 21 Nov 2008 11:22:04 -0600 Message-ID: <4926EE3C.7050207@redhat.com> References: <1227285875-18011-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <1227285875-18011-2-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <1227285875-18011-3-git-send-email-aneesh.kumar@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: cmm@us.ibm.com, tytso@mit.edu, linux-ext4@vger.kernel.org To: "Aneesh Kumar K.V" Return-path: Received: from mx2.redhat.com ([66.187.237.31]:60638 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752692AbYKURW2 (ORCPT ); Fri, 21 Nov 2008 12:22:28 -0500 In-Reply-To: <1227285875-18011-3-git-send-email-aneesh.kumar@linux.vnet.ibm.com> Sender: linux-ext4-owner@vger.kernel.org List-ID: Aneesh Kumar K.V wrote: > We need to make sure we update the block bitmap and clear > EXT4_BG_BLOCK_UNINIT flag with sb_bgl_lock held. We look > at EXT4_BG_BLOCK_UNINIT and reinit the block bitmap each > time in ext4_read_block_bitmap (introduced by > c806e68f5647109350ec546fee5b526962970fd2 ) Can you add details about the failure mode(s) of this race, so people (i.e. me) have an idea which bugs they've seen that it might address? Thanks, -Eric