From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751807Ab1HZKh4 (ORCPT ); Fri, 26 Aug 2011 06:37:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50111 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750747Ab1HZKhy (ORCPT ); Fri, 26 Aug 2011 06:37:54 -0400 Date: Fri, 26 Aug 2011 11:37:47 +0100 From: Alasdair G Kergon To: dm-devel@redhat.com Cc: linux-kernel@vger.kernel.org Subject: Re: [dm-devel] [PATCH] dm-kcopyd: Correctly free requests Message-ID: <20110826103747.GA15125@agk-dp.fab.redhat.com> Mail-Followup-To: dm-devel@redhat.com, linux-kernel@vger.kernel.org References: <20110826101542.GB20197@wavehammer.waldi.eu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110826101542.GB20197@wavehammer.waldi.eu.org> Organization: Red Hat UK Ltd. Registered in England and Wales, number 03798903. Registered Office: 64 Baker Street, 4th floor, London, W1U 7DF. User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 26, 2011 at 12:15:42PM +0200, Bastian Blank wrote: > kcopyd only frees the requests if the master job information is set up > correctly, but it was not in the recently added path. This leads to many > unfreed slabs during snapshot usage. Referring to commit c6ea41fbbe08f270a8edef99dc369faf809d1bd6 dm kcopyd: preallocate sub jobs to avoid deadlock which added the master_job field. Alasdair