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

Text file busy error -- mainline 3.12 client

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • Lustre 2.4.2
    • None
    • 3
    • 12363

    Description

      When executing the following simple script, the in-kernel client fails with error "Text file busy", while the out-of-kernel 2.4.2 client compiled against 2.6.32 vanilla works.

      -----------
      #!/bin/bash

      rm -f ./test.sh
      touch ./test.sh && chmod a+x ./test.sh
      echo "echo foo" > ./test.sh
      ./test.sh
      echo "echo foo" > ./test.sh
      ------------

      The following script works in all cases:

      -----------
      #!/bin/bash

      rm -f ./test.sh
      touch ./test.sh && chmod a+x ./test.sh
      echo "echo foo" > ./test.sh
      bash ./test.sh
      echo "echo foo" > ./test.sh
      ------------

      Attachments

        1. LU-4398.tar.bz2
          118 kB
        2. LU4429+4520.patch
          3 kB
        3. LU-4520.ETXTBSY.lctl-dk.txt
          436 kB
        4. LU-4520.ETXTBSY.strace.txt
          20 kB
        5. LU-4520.ok-vanilla.pcap.txt
          5 kB
        6. LU-4520.pcap.txt
          4 kB

        Issue Links

          Activity

            People

              wc-triage WC Triage
              rfehren Roland Fehrenbacher
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: