From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759505AbZB0Ue1 (ORCPT ); Fri, 27 Feb 2009 15:34:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755864AbZB0UeR (ORCPT ); Fri, 27 Feb 2009 15:34:17 -0500 Received: from e2.ny.us.ibm.com ([32.97.182.142]:60572 "EHLO e2.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755665AbZB0UeR (ORCPT ); Fri, 27 Feb 2009 15:34:17 -0500 Subject: [RFC][PATCH] track files for checkpointability To: Ingo Molnar Cc: containers , "linux-kernel@vger.kernel.org" , "Serge E. Hallyn" , Oren Laadan , Alexey Dobriyan , hch@infradead.org, Dave Hansen From: Dave Hansen Date: Fri, 27 Feb 2009 12:34:12 -0800 Message-Id: <20090227203412.BB254624@kernel> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This takes a suggestion of Ingo's along with comments from lots of other people. It can track whether a given file is able to be checkpointed. It has sane default assumptions for new filesystems and introduces a f_op to allow easy overriding of behavior just like the reset of the VFS. You can also find these patches in git: http://git.kernel.org/gitweb.cgi?p=linux/kernel/git/daveh/linux-2.6-cr.git;a=shortlog;h=dave-v13.1