• Barry Naujok's avatar
    [XFS] XFS: ASCII case-insensitive support · 189f4bf2
    Barry Naujok authored
    Implement ASCII case-insensitive support. It's primary purpose is for
    supporting existing filesystems that already use this case-insensitive
    mode migrated from IRIX. But, if you only need ASCII-only case-insensitive
    support (ie. English only) and will never use another language, then this
    mode is perfectly adequate.
    
    ASCII-CI is implemented by generating hashes based on lower-case letters
    and doing lower-case compares. It implements a new xfs_nameops vector for
    doing the hashes and comparisons for all filename operations.
    
    To create a filesystem with this CI mode, use: # mkfs.xfs -n version=ci
    <device>
    
    SGI-PV: 981516
    SGI-Modid: xfs-linux-melb:xfs-kern:31209a
    Signed-off-by: default avatarBarry Naujok <bnaujok@sgi.com>
    Signed-off-by: default avatarChristoph Hellwig <hch@infradead.org>
    189f4bf2
xfs_fsops.c 17.8 KB