-
- Downloads
FS-Cache: Recruit a page flags for cache management
Recruit a page flag to aid in cache management. The following extra flag is defined: (1) PG_fscache (PG_private_2) The marked page is backed by a local cache and is pinning resources in the cache driver. If PG_fscache is set, then things that checked for PG_private will now also check for that. This includes things like truncation and page invalidation. The function page_has_private() had been added to make the checks for both PG_private and PG_private_2 at the same time. Signed-off-by:David Howells <dhowells@redhat.com> Acked-by:
Steve Dickson <steved@redhat.com> Acked-by:
Trond Myklebust <Trond.Myklebust@netapp.com> Acked-by:
Rik van Riel <riel@redhat.com> Acked-by:
Al Viro <viro@zeniv.linux.org.uk> Tested-by:
Daire Byrne <Daire.Byrne@framestore.com>
Showing
- fs/splice.c 2 additions, 1 deletionfs/splice.c
- include/linux/page-flags.h 33 additions, 5 deletionsinclude/linux/page-flags.h
- mm/filemap.c 3 additions, 0 deletionsmm/filemap.c
- mm/migrate.c 5 additions, 5 deletionsmm/migrate.c
- mm/readahead.c 5 additions, 4 deletionsmm/readahead.c
- mm/swap.c 2 additions, 2 deletionsmm/swap.c
- mm/truncate.c 5 additions, 5 deletionsmm/truncate.c
- mm/vmscan.c 3 additions, 3 deletionsmm/vmscan.c
Loading
Please register or sign in to comment