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

tasks hang with copy_file_range: ll_file_splice_read()

XMLWordPrintable

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

      copy_file_range(2) reads from a Lustre file hang.

      With no .copy_file_range VFS API implemented it calls do_splice_direct()->splice_direct_to_actor()->do_splice_to()->ll_file_splice_read().

      While the call chain of ll_file_splice_read()->ll_file_io_generic()->generic_file_splice_read()->ll_file_read_iter()->ll_file_io_generic().

      And that would try to get LDLM lock twice in ll_file_io_generic(), so that hang ensued.

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

              Created:
              Updated: