From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753137AbaE0R7V (ORCPT ); Tue, 27 May 2014 13:59:21 -0400 Received: from mail-ob0-f179.google.com ([209.85.214.179]:51003 "EHLO mail-ob0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751434AbaE0R7U (ORCPT ); Tue, 27 May 2014 13:59:20 -0400 MIME-Version: 1.0 In-Reply-To: <5384AA79.4010206@kernel.dk> References: <5384AA79.4010206@kernel.dk> Date: Tue, 27 May 2014 10:59:19 -0700 Message-ID: Subject: Re: [PATCH] block: flush queued bios when the process blocks From: Kent Overstreet To: Jens Axboe Cc: Mikulas Patocka , "linux-kernel@vger.kernel.org" , device-mapper development , "Alasdair G. Kergon" , Mike Snitzer Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 27, 2014 at 8:08 AM, Jens Axboe wrote: > This really begs the question of why we just don't use the per-process plugs > for this. We already have scheduler hooks in place to flush those at the > appropriate time. Why are we reinventing something for essentially the same > thing? Yes! Unifying the two plugging mechanisms has been on my todo/wishlist for ages.