Please don't reply to lustre-devel. Instead, comment in Bugzilla by using the 
following link:
https://bugzilla.lustre.org/show_bug.cgi?id=11283



(In reply to comment #28)

> 
> 2Nic: i don`t know - is PAGE_SIZE defined for catamount or not. if defined -
> yes, it`s should be changed to PAGESIZE+1. Please confirm me - PAGESIZE 
> defined
> for catamount.

It would appear that it is:
$ grep -n PAGE_SIZE lustre/liblustre/*.c
lustre/liblustre/dir.c:216:        maxpages = (st->st_size + PAGE_SIZE - 1) >>
PAGE_SHIFT;
lustre/liblustre/dir.c:230:                maxpages = (st->st_size + PAGE_SIZE -
1) >> PAGE_SHIFT;
lustre/liblustre/dir.c:234:                limit = addr + PAGE_SIZE -
EXT2_DIR_REC_LEN(1);
lustre/liblustre/rw.c:542:        return (((len + PAGE_SIZE -1) / PAGE_SIZE) + 2
+ iovlen - 1);

_______________________________________________
Lustre-devel mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-devel

Reply via email to