From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f66.google.com ([209.85.215.66]:34208 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161121AbcGZTMW (ORCPT ); Tue, 26 Jul 2016 15:12:22 -0400 Received: by mail-lf0-f66.google.com with SMTP id l69so882713lfg.1 for ; Tue, 26 Jul 2016 12:12:21 -0700 (PDT) Date: Tue, 26 Jul 2016 22:12:12 +0300 From: "Kirill A. Shutemov" To: Theodore Ts'o , "Kirill A. Shutemov" , Andreas Dilger , Jan Kara , Alexander Viro , Hugh Dickins , Andrea Arcangeli , Andrew Morton , Dave Hansen , Vlastimil Babka , Matthew Wilcox , Ross Zwisler , linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-block@vger.kernel.org Subject: Re: [PATCHv1, RFC 00/33] ext4: support of huge pages Message-ID: <20160726191212.GA11776@node.shutemov.name> References: <1469493335-3622-1-git-send-email-kirill.shutemov@linux.intel.com> <20160726172938.GA9284@thunk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20160726172938.GA9284@thunk.org> Sender: linux-block-owner@vger.kernel.org List-Id: linux-block@vger.kernel.org On Tue, Jul 26, 2016 at 01:29:38PM -0400, Theodore Ts'o wrote: > On Tue, Jul 26, 2016 at 03:35:02AM +0300, Kirill A. Shutemov wrote: > > Here's the first version of my patchset which intended to bring huge pages > > to ext4. It's not yet ready for applying or serious use, but good enough > > to show the approach. > > Thanks. The major issues I noticed when doing a quick scan of the > patches you've already mentioned here. I'll try to take a closer look > in the next week or so when I have time. Thanks. > One random question --- in the huge=always approach, how much > additional work would be needed to support file systems with a 64k > block size on a system with 4k pages? I think it's totally different story. Here I have block size smaller than page size and it's not new to the filesystem -- similar to 1k block size with 4k page size. So I was able to re-use most of infrastructure to handle the situation. Block size bigger than page size is backward task. I don't think I know enough to understand how hard it would be. I guess not easy. :) -- Kirill A. Shutemov