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

truncate to DoM-file results in two RPCs

Details

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

    Attachments

      Issue Links

        Activity

          [LU-11033] truncate to DoM-file results in two RPCs

          This ticket remains open to improve the truncation already implemented.

          jgmitter Joseph Gmitter (Inactive) added a comment - This ticket remains open to improve the truncation already implemented.

          if truncate size is in DoM range then SETATTR is not needed because there will be truncate. I think it is safe to check that on client and decide to send setattr or not

          tappro Mikhail Pershin added a comment - if truncate size is in DoM range then SETATTR is not needed because there will be truncate. I think it is safe to check that on client and decide to send setattr or not

          this is not good on its own - two sync RPCs instead of one. but also breaks optimisation in osd_punch() as we can't skip truncate to existing i_size.

          bzzz Alex Zhuravlev added a comment - this is not good on its own - two sync RPCs instead of one. but also breaks optimisation in osd_punch() as we can't skip truncate to existing i_size.

          People

            tappro Mikhail Pershin
            bzzz Alex Zhuravlev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: