From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751511AbcEJJYo (ORCPT ); Tue, 10 May 2016 05:24:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45299 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751092AbcEJJYl (ORCPT ); Tue, 10 May 2016 05:24:41 -0400 Subject: Re: [PATCH] NBD: replace kill_bdev() with __invalidate_device() To: Ratna Manoj , Markus Pargmann References: <56E711D1.9090708@gmail.com> <2358965.KUbuAa1sts@adelgunde> <56F34412.1050707@gmail.com> <11986900.ymBh9azTyz@adelgunde> <571ADB31.2000609@gmail.com> Cc: jack@suse.cz, Gou Rao , Vinod Jayaraman , nbd-general@lists.sourceforge.net, linux-kernel@vger.kernel.org From: Paolo Bonzini Message-ID: <5731A8D3.8010305@redhat.com> Date: Tue, 10 May 2016 11:24:35 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: <571ADB31.2000609@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Tue, 10 May 2016 09:24:41 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23/04/2016 04:17, Ratna Manoj wrote: > Ext4 can be fixed with the this patch: > http://www.spinics.net/lists/linux-ext4/msg51112.html > It did not make to the kernel. It checks the state of the buffer head > before committing. The patch did not make it, but Ted Ts'o proposed an alternative (modifying __sync_dirty_buffer). Paolo