[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130718152129.GD30405@thunk.org>
Date: Thu, 18 Jul 2013 11:21:29 -0400
From: Theodore Ts'o <tytso@....edu>
To: Ext4 Developers List <linux-ext4@...r.kernel.org>
Subject: Re: [PATCH 5/5] ext4: add new ioctl EXT4_IOC_PRECACHE_EXTENTS
On Thu, Jul 18, 2013 at 09:06:11PM +0800, Zheng Liu wrote:
>
> Yes, at least for a internet company we can control everything, but for
> upstream the kernel might run under some weird environments. The lesson
> from this is that I need to think deeply for non-internet applications,
> and make a better design.
That's the main reaosn why there are patches that are in the Google
kernel for ext4 that haven't gone upstream yet, in fact. It's not
that we didn't want them upstream (in fact it's more work when have to
constantly rebase patches upstream). But often there are short cuts
we can take given a controlled environment, and getting something
which is suitable for mainline takes a lot more work.
One example of this is our patches to disable stable page writebacks,
which was a huge performance improvement but which didn't work for
iSCSI and drives with DIF/DIX support (fortunately we didn't care
about things like DIF/DIX in our environment). Now that Darrick has
implemented patches which only enable stable page writeback when it's
needed, there is a much nicer solution upstream.
Another example of this is we have a direct I/O fastpath patches that
significantly reduce DIO's overhead on extremely high speed devices.
Unfortunately, it's too ugly to live (and not coincidentally,
incredibly painful to rebase). Kent Overstreet was working on some
DIO improvements that will hopefully be clean enough that they can go
upstream at some point, at which point I will be so glad when we can
drop our ugly local hacks....
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists