Whamcloud - gitweb
Fix inode->i_blksize (for fstat st_blksize and hopefully improved cp
authoradilger <adilger>
Fri, 11 Apr 2003 04:55:39 +0000 (04:55 +0000)
committeradilger <adilger>
Fri, 11 Apr 2003 04:55:39 +0000 (04:55 +0000)
commitb2467872ff4fa4bfb9a8eed175ea5b05b1cba411
tree0c48dc88eb8b1f356eaa46f067dd0f0f656bdae4
parent6ffa21476ae58a56aa538afed9e8d185a20a440a
Fix inode->i_blksize (for fstat st_blksize and hopefully improved cp
performance) so that it is the maximum vector write size (num_stripes *
max_iov_size) as told by obd_get_info("brw_size").

Also change the obd_get_info() API to fix some minor abuses (passing part
of the key in via val, returning data via the return code).  Also remove
any pretense of obd_get_info() allocating memory for the caller, following
normal portals caller-allocates behaviour.  Make inputs and returns be
fixed size, so they can be network-encoded across different arches.
lustre/llite/iod.c