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

llite_loop.ko does not support >= 64k pages

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • None
    • None
    • RHEL6, ppc64
    • 4
    • 9791

    Description

      llite_loop.ko will not currently build on systems with >= 64k pages. 64k is apparently now the default in RHEL6 on ppc64 systems, so this may be an issue. For LLNL, we really only need client support, so we will be fine in the short term if LU-94 is integrated.

      By longer term, this problem in lustre/llite/lloop.c: needs to be addressed:

      CLASSERT(CFS_PAGE_SIZE < (1 << (sizeof(unsigned short) * 8)));
      blk_queue_logical_block_size(lo->lo_queue,
      (unsigned short)CFS_PAGE_SIZE);

      Lustre is setting the blk_queue_logical_block_size to the page size, but because it is an unsigned short (of 2 bytes) any number over 65535 will be truncated.

      Attachments

        Activity

          People

            rread Robert Read (Inactive)
            morrone Christopher Morrone
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: