Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2351701yba; Fri, 10 May 2019 10:03:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqzULCa2PvDhvJ5TiJw2MtYkZ7tqVw20ClEedV9XXijjC+rumdkgdHkZy97psxKJCwc/Sixg X-Received: by 2002:a17:902:bc83:: with SMTP id bb3mr13709366plb.303.1557507796775; Fri, 10 May 2019 10:03:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557507796; cv=none; d=google.com; s=arc-20160816; b=yKxwNuTea5ZjuGTFtp/XCZTREbTc594vgt4q7kjpqCzrwuFjVzkhesZFZkgEd/46Qn Y0RMW+CPV0lqDUqr/SVVKtQxsqfQ2/i9oztOMcEQEEPqX5s8xzFdbVXKHFvRsQuWdRHY 6LRPDRLxeFTgkAksHje8mmSXrNU6IZ4YT4aWrVg4tl0QGu9QGAzZjRyF8si9wUxCD8qN ZcyzP7TZudixy78oe0qqQzvED289nHax72ZGnArS1V6xIHsyXJUEw52fMtggumScK6kK ImSvwjKmbDtj9jOR01N0VqWQLRXjKPMYNkYQprsdexfqtWKlBVj/LWLB1JhCT51SSbUW 89cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=IziTW291S7TLrX5c1nQ0BR6rD/rA9YRqzUixUHiWrsw=; b=uS1r2knaL/gQPjPqBR1fe55Y1xwSprmJgDQrJjePHwhYs9Lg+qMAk98/QUGTxKcUA2 Ptv14e+3ivhNA5OhWe6DHsOgUCS/ITeqN5jN6dwlpNR/xoPpWAtl/yfayaaZnWWYD4JU RK/FyRlNM28tf6wX2v7qRx3PE/TdLJAtp/j4+YFbNnAZtXdr4fZc8o39Q5ck1mkc3eN3 QXfBvqUjuA9IryJNw41c414itHO26wNrXXtU5sk55iMXKjd2EEWi0Q1ulJgXbVGlPu3E yFJ/n13Fj0aRKKp+Wvg2RDBSUt0nriYonPZhsx+1Bw2XMe8Qz3lJTZyBTKXDa8a9C1NK hkfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=hU+E15uc; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m10si8018407pgp.478.2019.05.10.10.02.53; Fri, 10 May 2019 10:03:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=hU+E15uc; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727800AbfEJRCv (ORCPT + 99 others); Fri, 10 May 2019 13:02:51 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:56950 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727796AbfEJRCu (ORCPT ); Fri, 10 May 2019 13:02:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=IziTW291S7TLrX5c1nQ0BR6rD/rA9YRqzUixUHiWrsw=; b=hU+E15ucag7QN44PBHizLVV+U YXBduJaryBgxzFbdCxi9XhgPyJRVvEzVMQ/L5/jwaE4UEAkz6dSTizK6H0XZ9BbixaAny2raeA0PM GZYiMpAozs0jHE1ySlNQIY5IG9iXJwSy9pKxHAJt+HnwZLcQMvSbogXQfrPr9LJSsj1ZSbpCzIhUU yXlcyUMdz1fK5kA9fkEB2DIbEofpBepyZE1ld9ii5xkEKJ4mzvbRujLu74uneoNe0SJGdG4GRhCpX Mr0/e16oFwaTFLjYwBe4LBu+3c2VCErCTZxx3WbSij1Vo7+HWzZaAT7zHUz0EXtqOOb47KJ2SrKwB 7t+EeHnRw==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1hP8v3-00075G-R8; Fri, 10 May 2019 17:02:49 +0000 Date: Fri, 10 May 2019 10:02:49 -0700 From: Christoph Hellwig To: Kanchan Joshi Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linux-nvme@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, prakash.v@samsung.com, anshul@samsung.com Subject: Re: [PATCH v5 0/7] Extend write-hint framework, and add write-hint for Ext4 journal Message-ID: <20190510170249.GA26907@infradead.org> References: <1556191202-3245-1-git-send-email-joshi.k@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1556191202-3245-1-git-send-email-joshi.k@samsung.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org I think this fundamentally goes in the wrong direction. We explicitly designed the block layer infrastructure around life time hints and not the not fish not flesh streams interface, which causes all kinds of problems. Including the one this model causes on at least some SSDs where you now statically allocate resources to a stream that is now not globally available. All for the little log with very short date lifetime that any half decent hot/cold partitioning algorithm in the SSD should be able to detect.