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

vvp_write_{pending|complete} should be inode based

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: