[lkml]   [2021]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] Documentation/dax: Update description of DAX policy changing
After commit 77573fa310d9 ("fs: Kill DCACHE_DONTCACHE dentry even if
DCACHE_REFERENCED is set"), changes to DAX policy will take effect
as soon as all references to this file are gone.

Update the documentation accordingly.

Signed-off-by: Hao Li <>
Documentation/filesystems/dax.txt | 15 ++-------------
1 file changed, 2 insertions(+), 13 deletions(-)

diff --git a/Documentation/filesystems/dax.txt b/Documentation/filesystems/dax.txt
index 8fdb78f3c6c9..a5af22831087 100644
--- a/Documentation/filesystems/dax.txt
+++ b/Documentation/filesystems/dax.txt
@@ -84,19 +84,8 @@ Summary
described in 6) below.

6. When changing the S_DAX policy via toggling the persistent FS_XFLAG_DAX flag,
- the change in behaviour for existing regular files may not occur
- immediately. If the change must take effect immediately, the administrator
- needs to:
- a) stop the application so there are no active references to the data set
- the policy change will affect
- b) evict the data set from kernel caches so it will be re-instantiated when
- the application is restarted. This can be achieved by:
- i. drop-caches
- ii. a filesystem unmount and mount cycle
- iii. a system reboot
+ the change to existing regular file won't take effect until the file is closed
+ by all processes or all processes referencing the file are stopped.


 \ /
  Last update: 2021-01-04 03:43    [W:0.039 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site