diff options
| author | John L. Hammond <john.hammond@intel.com> | 2016-10-03 05:28:29 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-16 11:24:37 +0300 |
| commit | f648eed6f32410189f024c73fd86f3c6846c4b6a (patch) | |
| tree | 11fad0dae0c9e82295b8e1a05a26fba4629ef015 /include/linux | |
| parent | 0a4bea92409b6846f0da7cb3b463629e8e4b7f92 (diff) | |
| download | linux-f648eed6f32410189f024c73fd86f3c6846c4b6a.tar.xz | |
staging: lustre: lov: use obd_get_info() to get def/max LOV EA sizes
Use obd_get_info() to get the default and maximum LOV EA sizes (along
with maximum cookiesize) from LOV. Remove the then unused function
obd_size_diskmd() and the unused get info key KEY_LOVDESC. When
computing the maximum LOV EA size use the active OST count
(ld_active_tgt_count) rather than the OST count (ld_tgt_count).
Signed-off-by: John L. Hammond <john.hammond@intel.com>
Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5814
Reviewed-on: http://review.whamcloud.com/13695
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
