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

libaio read file from Lustre in DIO mode reports errno 22

Details

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

    Description

      There is a test util aiocp under lustre/tests directory. If use this util to copy a file from latest Lustre (tag: v2_16_51), in DIO mode , it reports errno 22: Invalid Argument.

      # aiocp -f DIRECT /mnt/lustre/d1/f1 ~/1
      read missed bytes at 0 expected 2736 got -22 

      Remove the flag -f DIRECT, it succeeds.

      # aiocp  /mnt/lustre/d1/f1 ~/1
      # echo $?
      0
      

      Attachments

        Issue Links

          Activity

            People

              flei Feng Lei
              flei Feng Lei
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: