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

vvp_write_{pending|complete} should be inode based

Details

    • Improvement
    • Resolution: Won't Fix
    • Minor
    • None
    • None
    • None
    • 7068

    Description

      Now these functions are page based, this is not good and if lots of pages are dirtied at the same time, only the first dirty page is doing real work and others just repeat useless work. Furthermore I've already seen huge contention on lock lli_lock so we should revise it to be inode based.

      One solution is to invent an atomic count to remember how many dirty pages there are for the inode, and if this count is dropped to zero we'll send done writing RPC to MDS.

      Attachments

        Issue Links

          Activity

            [LU-2946] vvp_write_{pending|complete} should be inode based

            This code no longer exists.

            adilger Andreas Dilger added a comment - This code no longer exists.

            People

              wc-triage WC Triage
              jay Jinshan Xiong (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: