Whamcloud - gitweb
LU-13431 llite: rework preferred IO size 76/38176/2
authorSebastien Buisson <sbuisson@ddn.com>
Tue, 7 Apr 2020 13:34:50 +0000 (13:34 +0000)
committerOleg Drokin <green@whamcloud.com>
Thu, 23 Apr 2020 16:49:19 +0000 (16:49 +0000)
commit37a5dc89ffa43f70aabc57828edcce57e051d37c
treed7ae7bd828fa88109d32e3b5ef9b90cca00e40cd
parent7e8efb339b0958146eb294fc9d961688f5d16079
LU-13431 llite: rework preferred IO size

Instead of using inode->i_blkbits to infer preferred IO size,
just set stat->blksize to the right value in ll_getattr_dentry().

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: If705c7d52bdfabdd3e669ca2d34f8cc0ca1ae08a
Reviewed-on: https://review.whamcloud.com/38176
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
lustre/llite/file.c
lustre/llite/llite_lib.c