diff options
| author | Jiri Kosina <jkosina@suse.cz> | 2011-07-11 08:15:48 -0400 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.cz> | 2011-07-11 08:15:55 -0400 |
| commit | b7e9c223be8ce335e30f2cf6ba588e6a4092275c (patch) | |
| tree | 2d1e3b75606abc18df7ad65e51ac3f90cd68b38d /Documentation/filesystems/caching/netfs-api.txt | |
| parent | c172d82500a6cf3c32d1e650722a1055d72ce858 (diff) | |
| parent | e3bbfa78bab125f58b831b5f7f45b5a305091d72 (diff) | |
Merge branch 'master' into for-next
Sync with Linus' tree to be able to apply pending patches that
are based on newer code already present upstream.
Diffstat (limited to 'Documentation/filesystems/caching/netfs-api.txt')
| -rw-r--r-- | Documentation/filesystems/caching/netfs-api.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/filesystems/caching/netfs-api.txt b/Documentation/filesystems/caching/netfs-api.txt index a167ab876c35..7cc6bf2871eb 100644 --- a/Documentation/filesystems/caching/netfs-api.txt +++ b/Documentation/filesystems/caching/netfs-api.txt | |||
| @@ -673,6 +673,22 @@ storage request to complete, or it may attempt to cancel the storage request - | |||
| 673 | in which case the page will not be stored in the cache this time. | 673 | in which case the page will not be stored in the cache this time. |
| 674 | 674 | ||
| 675 | 675 | ||
| 676 | BULK INODE PAGE UNCACHE | ||
| 677 | ----------------------- | ||
| 678 | |||
| 679 | A convenience routine is provided to perform an uncache on all the pages | ||
| 680 | attached to an inode. This assumes that the pages on the inode correspond on a | ||
| 681 | 1:1 basis with the pages in the cache. | ||
| 682 | |||
| 683 | void fscache_uncache_all_inode_pages(struct fscache_cookie *cookie, | ||
| 684 | struct inode *inode); | ||
| 685 | |||
| 686 | This takes the netfs cookie that the pages were cached with and the inode that | ||
| 687 | the pages are attached to. This function will wait for pages to finish being | ||
| 688 | written to the cache and for the cache to finish with the page generally. No | ||
| 689 | error is returned. | ||
| 690 | |||
| 691 | |||
| 676 | ========================== | 692 | ========================== |
| 677 | INDEX AND DATA FILE UPDATE | 693 | INDEX AND DATA FILE UPDATE |
| 678 | ========================== | 694 | ========================== |
