summaryrefslogtreecommitdiff
path: root/include/linux/dynamic_queue_limits.h
diff options
context:
space:
mode:
authorJohn L. Hammond <john.hammond@intel.com>2016-10-03 05:28:29 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-16 11:24:37 +0300
commitf648eed6f32410189f024c73fd86f3c6846c4b6a (patch)
tree11fad0dae0c9e82295b8e1a05a26fba4629ef015 /include/linux/dynamic_queue_limits.h
parent0a4bea92409b6846f0da7cb3b463629e8e4b7f92 (diff)
downloadlinux-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/dynamic_queue_limits.h')
0 files changed, 0 insertions, 0 deletions