Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-04-30 | mm: cleancache: clean up cleancache_enabled | Bob Liu | 1 | -1/+1 | |
cleancache_ops is used to decide whether backend is registered. So now cleancache_enabled is always true if defined CONFIG_CLEANCACHE. Signed-off-by: Bob Liu <[email protected]> Cc: Wanpeng Li <[email protected]> Cc: Andor Daam <[email protected]> Cc: Dan Magenheimer <[email protected]> Cc: Florian Schmaus <[email protected]> Cc: Konrad Rzeszutek Wilk <[email protected]> Cc: Minchan Kim <[email protected]> Cc: Stefan Hengelein <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> | |||||
2013-04-30 | cleancache: Make cleancache_init use a pointer for the ops | Konrad Rzeszutek Wilk | 1 | -1/+1 | |
Instead of using a backend_registered to determine whether a backend is enabled. This allows us to remove the backend_register check and just do 'if (cleancache_ops)' [v1: Rebase on top of b97c4b430b0a (ramster->zcache move] Signed-off-by: Konrad Rzeszutek Wilk <[email protected]> Signed-off-by: Bob Liu <[email protected]> Cc: Wanpeng Li <[email protected]> Cc: Andor Daam <[email protected]> Cc: Dan Magenheimer <[email protected]> Cc: Florian Schmaus <[email protected]> Cc: Minchan Kim <[email protected]> Cc: Stefan Hengelein <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> | |||||
2012-01-23 | mm: zcache/tmem/cleancache: s/flush/invalidate/ | Dan Magenheimer | 1 | -8/+3 | |
Complete the renaming from "flush" to "invalidate" across both tmem frontends (cleancache and frontswap) and both tmem backends (Xen and zcache), as required by akpm. This change is completely cosmetic. [v10: no change] [v9: [email protected]: change "flush" to "invalidate", part 3] Signed-off-by: Dan Magenheimer <[email protected]> Cc: Kamezawa Hiroyuki <[email protected]> Cc: Jan Beulich <[email protected]> Acked-by: Seth Jennings <[email protected]> Cc: Jeremy Fitzhardinge <[email protected]> Cc: Hugh Dickins <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Nitin Gupta <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: Chris Mason <[email protected]> Cc: Rik Riel <[email protected]> Cc: Andrew Morton <[email protected]> [v11: Remove the frontswap part] Signed-off-by: Konrad Rzeszutek Wilk <[email protected]> | |||||
2012-01-23 | mm: cleancache: s/flush/invalidate/ | Dan Magenheimer | 1 | -9/+14 | |
Per akpm suggestions alter the use of the term flush to be invalidate. The next patch will do this across all MM. This change is completely cosmetic. [v9: [email protected]: change "flush" to "invalidate", part 3] Signed-off-by: Dan Magenheimer <[email protected]> Cc: Kamezawa Hiroyuki <[email protected]> Cc: Jan Beulich <[email protected]> Reviewed-by: Seth Jennings <[email protected]> Cc: Jeremy Fitzhardinge <[email protected]> Cc: Hugh Dickins <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Nitin Gupta <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: Chris Mason <[email protected]> Cc: Rik Riel <[email protected]> Cc: Andrew Morton <[email protected]> [v10: Fixed fs: move code out of buffer.c conflict change] Signed-off-by: Konrad Rzeszutek Wilk <[email protected]> | |||||
2011-05-26 | mm: cleancache core ops functions and config | Dan Magenheimer | 1 | -0/+122 | |
This third patch of eight in this cleancache series provides the core code for cleancache that interfaces between the hooks in VFS and individual filesystems and a cleancache backend. It also includes build and config patches. Two new files are added: mm/cleancache.c and include/linux/cleancache.h. Note that CONFIG_CLEANCACHE can default to on; in systems that do not provide a cleancache backend, all hooks devolve to a simple check of a global enable flag, so performance impact should be negligible but can be reduced to zero impact if config'ed off. However for this first commit, it defaults to off. Details and a FAQ can be found in Documentation/vm/cleancache.txt Credits: Cleancache_ops design derived from Jeremy Fitzhardinge design for tmem [v8: [email protected]: fix exportfs call affecting btrfs] [v8: [email protected]: use static inline function, not macro] [v7: [email protected]: cleanup sysfs and remove cleancache prefix] [v6: [email protected]: robustly handle buggy fs encode_fh actor definition] [v5: [email protected]: clean up global usage and static var names] [v5: [email protected]: simplify init hook and any future fs init changes] [v5: [email protected]: cleaner non-global interface for ops registration] [v4: [email protected]: interface must support exportfs FS's] [v4: [email protected]: interface must support 64-bit FS on 32-bit kernel] [v3: [email protected]: use one ops struct to avoid pointer hops] [v3: [email protected]: document and ensure PageLocked reqts are met] [v3: [email protected]: fix success/fail codes, change funcs to void] [v2: [email protected]: use sane types] Signed-off-by: Dan Magenheimer <[email protected]> Reviewed-by: Jeremy Fitzhardinge <[email protected]> Reviewed-by: Konrad Rzeszutek Wilk <[email protected]> Acked-by: Al Viro <[email protected]> Acked-by: Andrew Morton <[email protected]> Acked-by: Nitin Gupta <[email protected]> Acked-by: Minchan Kim <[email protected]> Acked-by: Andreas Dilger <[email protected]> Acked-by: Jan Beulich <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: Nick Piggin <[email protected]> Cc: Mel Gorman <[email protected]> Cc: Rik Van Riel <[email protected]> Cc: Chris Mason <[email protected]> Cc: Ted Ts'o <[email protected]> Cc: Mark Fasheh <[email protected]> Cc: Joel Becker <[email protected]> |