Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-18739

max_pages_per_rpc gives "out of range" error for values less than 1M

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

      Failure, when the number of pages is mentioned in terms of total size, which is less than 1M:

      [root@vbox tests]# lctl set_param osc.lustre-OST0000-osc-ffff9fd875168800.max_pages_per_rpc=0.5M
      error: set_param: setting /sys/fs/lustre/osc/lustre-OST0000-osc-ffff9fd875168800/max_pages_per_rpc=0.5M: Numerical result out of range
      error: set_param: setting 'osc/lustre-OST0000-osc-ffff9fd875168800/max_pages_per_rpc'='0.5M': Numerical result out of range
      

      Working correctly, when the number of pages is given such that the total size is less than 1M:

      [root@vbox lustre-release]# getconf PAGE_SIZE
      4096
      [root@vbox tests]# lctl set_param osc.lustre-OST0000-osc-ffff9fd875168800.max_pages_per_rpc=128
      osc.lustre-OST0000-osc-ffff9fd875168800.max_pages_per_rpc=128 

            Bansal Rahul Bansal
            Bansal Rahul Bansal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: