• Martin Brandenburg's avatar
    orangefs: revamp block sizes · 9f8fd53c
    Martin Brandenburg authored
    Now the superblock block size is PAGE_SIZE.  The inode block size is
    PAGE_SIZE for directories and symlinks, but is the server-reported
    block size for regular files.
    
    The block size in the OrangeFS private inode is now deleted.  Stat
    now reports PAGE_SIZE for directories and symlinks and the
    server-reported block size for regular files.
    
    The user-space visible change is that the block size for directores
    and symlinks and the superblock is now PAGE_SIZE rather than the size of
    the client-core shared memory buffers, which was typically four
    megabytes.
    Reported-by: default avatarBecky Ligon <ligon@clemson.edu>
    Signed-off-by: default avatarMartin Brandenburg <martin@omnibond.com>
    Cc: hubcap@omnibond.com
    Cc: walt@omnibond.com
    Signed-off-by: default avatarMike Marshall <hubcap@omnibond.com>
    9f8fd53c
orangefs-kernel.h 12.4 KB