mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] mm/vfs/fs:cleancache for 2.6.37 merge window
@ 2010-10-21 15:21 Dan Magenheimer
  2010-10-21 15:36 ` Lin Ming
  2010-10-27 18:37 ` Ping? " Dan Magenheimer
  0 siblings, 2 replies; 10+ messages in thread
From: Dan Magenheimer @ 2010-10-21 15:21 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel

Hi Linus --

Please pull:

 git://git.kernel.org/pub/scm/linux/kernel/git/djm/tmem.git for-linus

since git commit cb655d0f3d57c23db51b981648e452988c0223f9:
Linus Torvalds (1):

    Linux 2.6.36-rc7

This cleancache patchset crosses multiple subsystem boundaries and
at the recent filesystem/storage/mm summit, people suggested that
I should just submit it to linux-next (done), and directly to you
at the next merge window.  Previous lkml postings received a great
deal of review and comment from a wide variety of maintainers, as
documented in the commit logs.

In addition, the cleancache shim to Xen Transcendent Memory makes
use of and is dependent on the cleancache patchset.  Jeremy Fitzhardinge
asked that I just include the shim in my tree to be pulled at the
same time, to avoid any merge ordering issues.  (Another cleancache
user, zcache, developed by Nitin Gupta has been submitted for the
drivers/staging tree and will follow at some point, though possibly
not until the next merge window.)

The patches apply cleanly against linux-2.6.36-rc7.  In
linux-next, sfr had to manually resolve a couple of very minor merge
conflicts in mm/Kconfig and include/linux/fs.h due to minor changes
in other trees.

If you have any questions or concerns, please let me know!

Thanks,
Dan

P.S. This is my first direct submission to you and today
happens to be my 50th birthday, so please be kind :-)

Dan Magenheimer (9):
      mm/fs: cleancache documentation
      fs: add field to superblock to support cleancache
      mm: cleancache core ops functions and config
      mm/fs: add hooks to support cleancache
      ext3: add cleancache support
      btrfs: add cleancache support
      ext4: add cleancache support
      ocfs2: add cleancache support
      xen: cleancache shim to Xen Transcendent Memory

 .../ABI/testing/sysfs-kernel-mm-cleancache         |   11 +
 Documentation/vm/cleancache.txt                    |  267 ++++++++++++++++++++
 arch/x86/include/asm/xen/hypercall.h               |    7 +
 drivers/xen/Makefile                               |    1 +
 drivers/xen/tmem.c                                 |  264 +++++++++++++++++++
 fs/btrfs/extent_io.c                               |    9 +
 fs/btrfs/super.c                                   |    2 +
 fs/buffer.c                                        |    5 +
 fs/ext3/super.c                                    |    2 +
 fs/ext4/super.c                                    |    2 +
 fs/mpage.c                                         |    7 +
 fs/ocfs2/super.c                                   |    2 +
 fs/super.c                                         |    3 +
 include/linux/cleancache.h                         |  118 +++++++++
 include/linux/fs.h                                 |    5 +
 include/xen/interface/xen.h                        |   22 ++
 mm/Kconfig                                         |   22 ++
 mm/Makefile                                        |    1 +
 mm/cleancache.c                                    |  245 ++++++++++++++++++
 mm/filemap.c                                       |   11 +
 mm/truncate.c                                      |   10 +
 21 files changed, 1016 insertions(+), 0 deletions(-)

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: PING? cleancache for 2.6.39 window?
@ 2011-02-24 19:50 Matt
  0 siblings, 0 replies; 10+ messages in thread
From: Matt @ 2011-02-24 19:50 UTC (permalink / raw)
  To: Linus Torvalds, Andrew Morton; +Cc: Dan Magenheimer, Linux Kernel, Linux-mm

>Hi Andrew (and Linus) --

>As you may have seen, gregkh has taken zcache into drivers/staging
>for merging when the 2.6.39 window opens.  And zcache (which
>works entirely in-kernel, no virtualization required) depends on
>cleancache.

>Cleancache and zcache are both in linux-next and, via linux-next,
>in mmotm.  Last October, Linus said that he preferred cleancache
>to merge via you (Andrew), not pulled from my git tree.  So:

>1) Is cleancache finally now acceptable for merging in the
>   upcoming 2.6.39 window? and
>2) If so, is there anything else I need to do to ensure the
>   merging of cleancache happens during the open window or will
>   it all happen automagically (from my point of view) through
>   your (Andrew's) normal open-window processes?

>Sorry to be excessively persistent, but I don't want to miss
>the 2.6.39 window due to my newbie-ness.  And I plan to be on
>vacation for some time during March and would also like to ensure
>I don't miss something *I* need to do before or during the
>window.

>Thanks,
>Dan Magenheimer

Hi Linus, Hi Andrew,

Hi Dan,

will this get into 2.6.39 ?

It's been running  fine for me now with 2.6.37 for some time and I
have to say that it definitely cuts latencies & time needed to work

under higher memory or cpu pressure workloads (e.g. rsyncing while
compiling big programs such as libreoffice or chromium and listening
to audio at the same time) with the added bonus of less swapping and
memory consumption of the filesystem pagecache.

I haven't seen any problems so far with ext4,

btrfs very probably also will work fine in the near future (the umount
problem with btrfs I've noticed & reported is currently under
investigation & a fix on the way).

So there's no data-eating or other real problem right now that might
seriously hinder further widespread testing ;)

Getting this into mainline staging and the willingness of filesystem
developers provided - there could also be the possibility to add
support for XFS and other filesystems - making fast & excellent
filesystems (and workloads) even more efficient :)


I don't know if it's already under consideration or in linux-next but
the "zram_xvmalloc: 64K page fixes and optimizations" (which I'm
currently testing with zcache) might improve things even more.


Thanks for your consideration & Regards

Matt

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-02-24 19:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-21 15:21 [GIT PULL] mm/vfs/fs:cleancache for 2.6.37 merge window Dan Magenheimer
2010-10-21 15:36 ` Lin Ming
2010-10-21 15:57   ` gene heskett
2010-10-27 18:37 ` Ping? " Dan Magenheimer
2010-10-30 19:06   ` Andrew Morton
2010-10-30 20:49     ` Jeremy Fitzhardinge
2010-10-31  2:19     ` Dan Magenheimer
2011-01-19 16:42     ` Dan Magenheimer
2011-02-17 20:14       ` PING? cleancache for 2.6.39 window? Dan Magenheimer
2011-02-24 19:50 Matt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®