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

readv() into an mmap of the same file hangs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • None
    • 3
    • 9223372036854775807

      Reproduction

      1. mmap a Lustre file MAP_SHARED

      2. lctl set_param ldlm.namespaces.osc.lru_size=clear

      3. readv() that same file into the mapping, iovecs overlapping the region being read

      readv() never returns. The task sits in D state at cl_sync_io_wait, kill -9 does nothing, and the mount cannot be unmounted until reboot.

       

      Found by graph-hunter-v1

            skoyama Sohei Koyama
            skoyama Sohei Koyama
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: