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

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

Details

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

    Description

      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 

      Attachments

        Issue Links

          Activity

            [LU-18739] max_pages_per_rpc gives "out of range" error for values less than 1M
            Bansal Rahul Bansal added a comment -

            This is a minor BUG and will be fixed in https://jira.whamcloud.com/browse/LU-18635 ticket.

            Bansal Rahul Bansal added a comment - This is a minor BUG and will be fixed in https://jira.whamcloud.com/browse/LU-18635 ticket.

            People

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

              Dates

                Created:
                Updated:
                Resolved: