orangefs: revamp block sizes
authorMartin Brandenburg <martin@omnibond.com>
Thu, 31 May 2018 16:36:59 +0000 (16:36 +0000)
committerMike Marshall <hubcap@omnibond.com>
Fri, 1 Jun 2018 18:48:31 +0000 (14:48 -0400)
commit9f8fd53cd05596f6792f769c9fd5fd2b0d624507
treef101fb8d3721d220e4b7ca64535c97253ef154c4
parentb04e217704b7f879c6b91222b066983a44a7a09f
orangefs: revamp block sizes

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: Becky Ligon <ligon@clemson.edu>
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Cc: hubcap@omnibond.com
Cc: walt@omnibond.com
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/inode.c
fs/orangefs/orangefs-kernel.h
fs/orangefs/orangefs-utils.c
fs/orangefs/super.c