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

iovec created with iov_iter_get_pages_alloc must be freed with kvfree

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • None
    • 3
    • 9223372036854775807

      Commit 98883bd3e2cc48a3a5674ce140ad74bece37df05 added support for iov_iter_get_pages_alloc for newer kernels, instead of ll_get_user_pages. However the iovec was still freed within ll_free_user_pages, using OBD_FREE_LARGE. Use kvfree instead (like in the linux kernel).

            wc-triage WC Triage
            fzago Frank Zago (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: