[LU-95] llite_loop.ko does not support >= 64k pages Created: 23/Feb/11  Updated: 24/Feb/11  Resolved: 24/Feb/11

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Christopher Morrone Assignee: Robert Read (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Environment:

RHEL6, ppc64


Severity: 4
Rank (Obsolete): 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.



 Comments   
Comment by Peter Jones [ 24/Feb/11 ]

Chris this appears to be a duplicate of LU-96 so I am marking as resolved. Please reopen if I am missing something

Comment by Christopher Morrone [ 24/Feb/11 ]

Peter, I don't know how that even happened...

Generated at Sat Feb 10 01:03:43 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.