mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
Documentation/dax: Update description of DAX policy changing
After commit 77573fa310
("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 <lihao2018.fnst@cn.fujitsu.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Link: https://lore.kernel.org/r/20210106015000.5263-1-lihao2018.fnst@cn.fujitsu.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
@@ -83,20 +83,9 @@ Summary
|
|||||||
directories. This has runtime constraints and limitations that are
|
directories. This has runtime constraints and limitations that are
|
||||||
described in 6) below.
|
described in 6) below.
|
||||||
|
|
||||||
6. When changing the S_DAX policy via toggling the persistent FS_XFLAG_DAX flag,
|
6. When changing the S_DAX policy via toggling the persistent FS_XFLAG_DAX
|
||||||
the change in behaviour for existing regular files may not occur
|
flag, the change to existing regular files won't take effect until the
|
||||||
immediately. If the change must take effect immediately, the administrator
|
files are closed by all processes.
|
||||||
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
|
|
||||||
|
|
||||||
|
|
||||||
Details
|
Details
|
||||||
|
Reference in New Issue
Block a user