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

Provide vvp_set_folio_dirty_batched() and wrappers for page users

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 9223372036854775807

    Description

      In LU-16433 there is discussion about if and how we can recapture the lost performance from being unable to use Patrick's vvp_set_pagevec_dirty() since losing access to account_page_dirtied().

      This is an attempt to provide a replacement in vvp_folio_account_dirtied() with the caveat that some memcg and writeback ratelimit calculations will be wrong:

      here:
      -> __this_cpu_add(bdp_ratelimits, nr); <- no access
      and here:
      -> mem_cgroup_track_foreign_dirty(folio, wb); <- no access

      Attachments

        Activity

          People

            stancheff Shaun Tancheff
            stancheff Shaun Tancheff
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: