Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751990Ab3EJKF0 (ORCPT ); Fri, 10 May 2013 06:05:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:64635 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751739Ab3EJKFY (ORCPT ); Fri, 10 May 2013 06:05:24 -0400 Date: Fri, 10 May 2013 11:05:21 +0100 From: Joe Thornber To: device-mapper development Cc: "Darrick J. Wong" , linux-kernel@vger.kernel.org Subject: Re: [dm-devel] dm-cache not writing out cache metadata at reboot? Message-ID: <20130510100520.GD20880@debian> Mail-Followup-To: device-mapper development , "Darrick J. Wong" , linux-kernel@vger.kernel.org References: <20130508214845.GA7729@blackbox.djwong.org> <20130508220526.GA24132@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130508220526.GA24132@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 562 Lines: 12 On Wed, May 08, 2013 at 06:05:26PM -0400, Mike Snitzer wrote: > I'll defer to Joe on this but I think sync_metadata() is pretty heavy to > be doing every 'dmsetup info'. BTW, with just dm_cache_commit() the > superblock fields aren't stale; only the on-disk hints are. Agreed, the hints are v. expensive to write. -- 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/