• D
    ubifs: introduce UBIFS_ATIME_SUPPORT to ubifs · 8c1c5f26
    Dongsheng Yang 提交于
    To make ubifs support atime flexily, this commit introduces
    a Kconfig option named as UBIFS_ATIME_SUPPORT.
    
    With UBIFS_ATIME_SUPPORT=n:
    	ubifs keeps the full compatibility to no_atime from
    the start of ubifs.
    
    =================UBIFS_ATIME_SUPPORT=n=======================
    -o - no atime
    -o atime - no atime
    -o noatime - no atime
    -o relatime - no atime
    -o strictatime - no atime
    -o lazyatime - no atime
    
    With UBIFS_ATIME_SUPPORT=y:
    	ubifs supports the atime same with other main stream
    file systems.
    =================UBIFS_ATIME_SUPPORT=y=======================
    -o - default behavior (relatime currently)
    -o atime - atime support
    -o noatime - no atime support
    -o relatime - relative atime support
    -o strictatime - strict atime support
    -o lazyatime - lazy atime support
    Signed-off-by: NDongsheng Yang <yangds.fnst@cn.fujitsu.com>
    Reviewed-by: NRichard Weinberger <richard@nod.at>
    Signed-off-by: NRichard Weinberger <richard@nod.at>
    8c1c5f26
Kconfig 1.7 KB