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

take ldlm lock when queue sync pages

Details

    • 3
    • 9223372036854775807

    Description

      osc_queue_sync_pages() add osc_extent to osc_object's IO extent list without taking ldlm locks, and then it calls osc_io_unplug_async() to queue the IO work for the client.

      I think the IO extent should take ldlm locks while waiting in the IO work queue.

      Attachments

        Issue Links

          Activity

            [LU-16160] take ldlm lock when queue sync pages
            pjones Peter Jones added a comment -

            Thanks very much Andrew. Is it possible to push the patch into gerrit so it is easier for us to provide testing/review feedback?

            pjones Peter Jones added a comment - Thanks very much Andrew. Is it possible to push the patch into gerrit so it is easier for us to provide testing/review feedback?
            panda Andrew Perepechko added a comment - - edited

            I've uploaded the workaround for stale data+SIGBUS issue that we are currently using, as an attachment. We're going to replace it with a better (design-wise/performance-wise) solution if/when we have it. Not sure if it's useful but we'd like to share.

            panda Andrew Perepechko added a comment - - edited I've uploaded the workaround for stale data+SIGBUS issue that we are currently using, as an attachment. We're going to replace it with a better (design-wise/performance-wise) solution if/when we have it. Not sure if it's useful but we'd like to share.

            "Zhenyu Xu <bobijam@hotmail.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49553
            Subject: LU-16160 llite: handle filemap_fault() returns SIGBUS error
            Project: fs/lustre-release
            Branch: b2_15
            Current Patch Set: 1
            Commit: 7b9342563fc08f800fa4379b189f3b5df6ebd570

            gerrit Gerrit Updater added a comment - "Zhenyu Xu <bobijam@hotmail.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49553 Subject: LU-16160 llite: handle filemap_fault() returns SIGBUS error Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: 7b9342563fc08f800fa4379b189f3b5df6ebd570

            "Zhenyu Xu <bobijam@hotmail.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49549
            Subject: LU-16160 llite: handle filemap_fault() returns SIGBUS error
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set: 1
            Commit: 2e20813f4f355d6c8d0cf0ac861fefbf35d7f6f3

            gerrit Gerrit Updater added a comment - "Zhenyu Xu <bobijam@hotmail.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49549 Subject: LU-16160 llite: handle filemap_fault() returns SIGBUS error Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: 2e20813f4f355d6c8d0cf0ac861fefbf35d7f6f3
            spitzcor Cory Spitz added a comment -

            > Please reopen if more work is to be tracked under this ticket
            Reopening since bobijam has posted a revert and more work against this ticket.

            spitzcor Cory Spitz added a comment - > Please reopen if more work is to be tracked under this ticket Reopening since bobijam has posted a revert and more work against this ticket.

            "Zhenyu Xu <bobijam@hotmail.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49541
            Subject: LU-16160 llite: revert commit 5b911e03261c3
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 4e63d5c7b94b42c8b8936a591a967b8138ad04fc

            gerrit Gerrit Updater added a comment - "Zhenyu Xu <bobijam@hotmail.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49541 Subject: LU-16160 llite: revert commit 5b911e03261c3 Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 4e63d5c7b94b42c8b8936a591a967b8138ad04fc
            gerrit Gerrit Updater added a comment - - edited

            "Zhenyu Xu <bobijam@hotmail.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49534
            Subject: LU-16160 llite: handle filemap_fault() returns SIGBUS error
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 437ee8064530b3db7a7c8a8a26e0694273bf0919

            gerrit Gerrit Updater added a comment - - edited "Zhenyu Xu <bobijam@hotmail.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49534 Subject: LU-16160 llite: handle filemap_fault() returns SIGBUS error Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 437ee8064530b3db7a7c8a8a26e0694273bf0919

            "Zhenyu Xu <bobijam@hotmail.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49372
            Subject: LU-16160 llite: make page state consistent
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 7307e91ee06955c3fafad60e0a6c6f329736ccfd

            gerrit Gerrit Updater added a comment - "Zhenyu Xu <bobijam@hotmail.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49372 Subject: LU-16160 llite: make page state consistent Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 7307e91ee06955c3fafad60e0a6c6f329736ccfd
            pjones Peter Jones added a comment -

            All existing patches have landed. Please reopen if more work is to be tracked under this ticket.

            pjones Peter Jones added a comment - All existing patches have landed. Please reopen if more work is to be tracked under this ticket.

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/48607/
            Subject: LU-16160 llite: clear stale page's uptodate bit
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 5b911e03261c3de6b0c2934c86dd191f01af4f2f

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/48607/ Subject: LU-16160 llite: clear stale page's uptodate bit Project: fs/lustre-release Branch: master Current Patch Set: Commit: 5b911e03261c3de6b0c2934c86dd191f01af4f2f

            I replicated a situation when page live in cache with uptodate flag and without cl_page.
            Coredump + modules + kernel available at http://shadowland.me:8080/webshare/WhamCloud/16150/log1/.

            shadow Alexey Lyashkov added a comment - I replicated a situation when page live in cache with uptodate flag and without cl_page. Coredump + modules + kernel available at http://shadowland.me:8080/webshare/WhamCloud/16150/log1/ .

            People

              bobijam Zhenyu Xu
              bobijam Zhenyu Xu
              Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: