• Steven French's avatar
    Query File System Alignment · af6a12ea
    Steven French authored
    In SMB3 it is now possible to query the file system
    alignment info, and the preferred (for performance)
    sector size and whether the underlying disk
    has no seek penalty (like SSD).
    
    Query this information at mount time for SMB3,
    and make it visible in /proc/fs/cifs/DebugData
    for debugging purposes.
    
    This alignment information and preferred sector
    size info will be helpful for the copy offload
    patches to setup the right chunks in the CopyChunk
    requests.   Presumably the knowledge that the
    underlying disk is SSD could also help us
    make better readahead and writebehind
    decisions (something to look at in the future).
    Signed-off-by: default avatarSteve French <smfrench@gmail.com>
    af6a12ea
smb2pdu.h 31 KB