Details

    • Technical task
    • Resolution: Fixed
    • Minor
    • Lustre 2.13.0
    • None
    • None
    • 9223372036854775807

    Description

      PCC uses the layout lock to protect the cache validity. Currently PCC only supports auto attach at the next open. However, the layout lock can be revoked at any time by LRU/manual lock shrinking or lock conflict callback.

      For example, the layout lock can be revoked when perform I/Os after open the file. At this time, the cached file will be detached involuntary. The I/O originally directed into PCC will redirect to OSTs after the data restore into OSTs' objects. This cost of this unwilling behavior may be expensive.

      To avoid this problem, it is necessary to implement auto attach for PCC even during IOs (not only at the open time).

      And auto attach should be enabled by default.

      Attachments

        Activity

          [LU-12526] Auto attach for PCC during IO
          pjones Peter Jones made changes -
          Fix Version/s New: Lustre 2.13.0 [ 14290 ]
          Fix Version/s Original: Lustre 2.14.0 [ 14490 ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          jgmitter Joseph Gmitter (Inactive) made changes -
          Fix Version/s New: Lustre 2.14.0 [ 14490 ]
          jgmitter Joseph Gmitter (Inactive) made changes -
          Parent New: LU-12714 [ 56799 ]
          Issue Type Original: New Feature [ 2 ] New: Technical task [ 7 ]
          qian_wc Qian Yingjin made changes -
          Description Original: PCC uses the layout lock to protect the cache validity. Currently PCC only supports auto attach at the next open. However, the layout lock can be revoked at any time by LRU/manual lock shrinking or lock conflict callback.

          For example, the layout lock can be revoked when perform I/Os after open the file. At this time, the cached file will be detached involuntary. The I/O originally directed into PCC will redirect to OSTs after the data restore into OSTs' objects. This cost of this unwilling behavior may be expensive.

          To avoid this problem, it is necessary to implement auto attach for PCC even during IOs (not only at the open time).
          New: PCC uses the layout lock to protect the cache validity. Currently PCC only supports auto attach at the next open. However, the layout lock can be revoked at any time by LRU/manual lock shrinking or lock conflict callback.

          For example, the layout lock can be revoked when perform I/Os after open the file. At this time, the cached file will be detached involuntary. The I/O originally directed into PCC will redirect to OSTs after the data restore into OSTs' objects. This cost of this unwilling behavior may be expensive.

          To avoid this problem, it is necessary to implement auto attach for PCC even during IOs (not only at the open time).

          And auto attach should be enabled by default.
          qian_wc Qian Yingjin created issue -

          People

            qian_wc Qian Yingjin
            qian_wc Qian Yingjin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: