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

allow larger O_DIRECT requests with large allocations

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.2.0
    • None
    • None
    • 4804

    Description

      In ll_direct_IO_26() it implements a MAX_DIO_SIZE limit for O_DIRECT requests, based on the previous 128kB kmalloc() limit. However, the underlying code was changed to use OBD_ALLOC_LARGE() and can handle arbitrarily large allocations with vmalloc. Increase the limit from 22MB (128kB kmalloc limit) to 512MB (actually 682MB, just below 4MB new kmalloc limit, and arbitrary with vmalloc).

      Attachments

        Issue Links

          Activity

            People

              adilger Andreas Dilger
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: