From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751952Ab2ALBVJ (ORCPT ); Wed, 11 Jan 2012 20:21:09 -0500 Received: from cantor2.suse.de ([195.135.220.15]:34769 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751897Ab2ALBVG (ORCPT ); Wed, 11 Jan 2012 20:21:06 -0500 From: Jan Kara To: linux-fsdevel@vger.kernel.org Cc: LKML , linux-ext4@vger.kernel.org, xfs@oss.sgi.com, Eric Sandeen , Dave Chinner , Surbhi Palande , Kamal Mostafa , Christoph Hellwig Subject: [PATCH 0/4] Fix filesystem freezing Date: Thu, 12 Jan 2012 02:20:49 +0100 Message-Id: <1326331253-6497-1-git-send-email-jack@suse.cz> X-Mailer: git-send-email 1.7.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, filesystem freezing is currently racy and thus we can end up with dirty data on frozen filesystem (see changelog of the first patch for detailed race description and proposed fix). This patch series aims at fixing this. So far I did basic testing using UML linux (running fsstress and bash-shared-mapping while doing freeze - sync (to deadlock on leftover dirty pages) - unfreeze) and I'm not able to trigger dirty pages on frozen filesystem anymore. I plan to do more testing on real machine tomorrow. Surbhi, Kamal, you were able to reproduce deadlocks due to dirty data as well so please test these patches out. Thanks. Also review of patches is welcome. Honza