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

Remove old lockless code: Truncate & contention based lockless i/o

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.12.10
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Lockless truncate and the buffered lockless i/o on contention have been broken pretty much since they were first implemented, which was a long time ago (~Lustre 2.0, maybe earlier).

      It's past time to remove them both.  The only reason the lockless i/o on contention hasn't been more of a problem is that contention detection on the server is also mostly broken.

       

      One note:
      I am going to leave the server side code in place for now, because I have a rewrite of it here:
      https://review.whamcloud.com/#/c/35287/

      And while I do not expect to pick up automatic lockahead, this contention detection work has a role to play in the "switched buffered i/o to direct i/o" patch series.

      It is much easier to do that patch if the server side contention detection is not removed entirely.

      Attachments

        Issue Links

          Activity

            People

              paf0186 Patrick Farrell
              paf0186 Patrick Farrell
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: