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

vvp_write_{pending|complete} should be inode based

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated: