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

Kernel race could cause LU-118, clear_inode: BUG_ON(inode->i_data.nrpages)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Minor
    • None
    • Lustre 2.1.0, Lustre 1.8.6
    • None
    • 3
    • 24,303
    • 10346

    Description

      LU-118 is tracking b1_8 and master Lustre fixes for the cause of the kernel BUG_ON(inode->i_data.nrpages) in clear_inode().

      There is concern that a kernel race needs to be fixed there as well to completely tie off the issue. This ticket should track the kernel solution. Ideally, we'd get this identified so that the upstream kernel maintainers can adopt a fix that they like and Lustre will not need to carry a kernel patch around for this bug.

      References:
      > Lustre Bug 24303
      > http://jira.whamcloud.com/browse/LU-118?focusedCommentId=10993&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_10993
      > Jinshan also added, "Then let's take an effort to make up a test case so as to reproduce it in linux kernel. I think there would be a code path in the linux kernel is that when vmscan is stealing a page(shrink_page_list->remove_mapping->__remove_from_page_cache), and meanwhile the inode is being forgotten(iput_final -> ... ->generic_forget_inode).

      Attachments

        Activity

          People

            wc-triage WC Triage
            spitzcor Cory Spitz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: