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

refine ll_use_fast_io() for stride mode

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • 9223372036854775807

    Description

      ll_use_fast_io() calculates whether current readahead window covers next_readahead + max rpc pages, if that's the case, we can issue a readahed RPC, so we'd not do fast IO because we will need a cl_io to issue the RPC, otherwise we'd return true and do fast IO w/o issueing readahead RPC.

      While for stride mode, the to-be-covered pages algorithm is

      max_rpc_pages * (ras->ras_stride_length + ras->ras_stride_bytes - 1) / stride_bytes

      which is not so accurate.

      Attachments

        Activity

          [LU-16033] refine ll_use_fast_io() for stride mode

          "Bobi Jam <bobijam@hotmail.com>" uploaded a new patch: https://review.whamcloud.com/48007
          Subject: LU-16033 llite: refine ll_use_fast_io() for stride mode
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 28bd9283ad4049c17cfdbb2d887f6bf522aac6cd

          gerrit Gerrit Updater added a comment - "Bobi Jam <bobijam@hotmail.com>" uploaded a new patch: https://review.whamcloud.com/48007 Subject: LU-16033 llite: refine ll_use_fast_io() for stride mode Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 28bd9283ad4049c17cfdbb2d887f6bf522aac6cd

          People

            bobijam Zhenyu Xu
            bobijam Zhenyu Xu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: