Skip to content
Snippets Groups Projects
Commit 5102fdb5 authored by Yang Sheng's avatar Yang Sheng
Browse files

Branch b1_6

b=15865
i=johann, shadow

Update kernel to RHEL5 2.6.18-53.1.21.el5.
Fixed the build failed for IA64 arch.
parent 90d81cdf
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ tbd Sun Microsystems, Inc. ...@@ -4,7 +4,7 @@ tbd Sun Microsystems, Inc.
2.6.5-7.311 (SLES 9), 2.6.5-7.311 (SLES 9),
2.6.9-67.0.15.EL (RHEL 4), 2.6.9-67.0.15.EL (RHEL 4),
2.6.16.54-0.2.5 (SLES 10), 2.6.16.54-0.2.5 (SLES 10),
2.6.18-53.1.19.el5 (RHEL 5), 2.6.18-53.1.21.el5 (RHEL 5),
2.6.22.14 vanilla (kernel.org) 2.6.22.14 vanilla (kernel.org)
* Client support for unpatched kernels: * Client support for unpatched kernels:
(see http://wiki.lustre.org/index.php?title=Patchless_Client) (see http://wiki.lustre.org/index.php?title=Patchless_Client)
...@@ -24,6 +24,10 @@ tbd Sun Microsystems, Inc. ...@@ -24,6 +24,10 @@ tbd Sun Microsystems, Inc.
'tunefs.lustre --param="mdt.quota_type=ug1" $MDTDEV'. 'tunefs.lustre --param="mdt.quota_type=ug1" $MDTDEV'.
For more information, please refer to bugzilla 13904. For more information, please refer to bugzilla 13904.
Severity : enhancement
Bugzilla : 15865
Description: Update to RHEL5 kernel-2.6.18-53.1.21.el5.
Severity : major Severity : major
Bugzilla : 15924 Bugzilla : 15924
Description: do not process already freed flock Description: do not process already freed flock
......
lnxmaj="2.6.18" lnxmaj="2.6.18"
lnxrel="53.1.19.el5" lnxrel="53.1.21.el5"
KERNEL=linux-${lnxmaj}-${lnxrel}.tar.bz2 KERNEL=linux-${lnxmaj}-${lnxrel}.tar.bz2
SERIES=2.6-rhel5.series SERIES=2.6-rhel5.series
......
...@@ -5,7 +5,7 @@ SUPPORTED KERNELS: ...@@ -5,7 +5,7 @@ SUPPORTED KERNELS:
2.6-suse-newer SLES9: 2.6.5-7.311 extra patches for SLES9 after SP1 2.6-suse-newer SLES9: 2.6.5-7.311 extra patches for SLES9 after SP1
2.6-rhel4 RHEL4: 2.6.9-67.0.15.EL 2.6-rhel4 RHEL4: 2.6.9-67.0.15.EL
2.6-sles10 SLES10: 2.6.16.54-0.2.5 2.6-sles10 SLES10: 2.6.16.54-0.2.5
2.6-rhel5 RHEL5: 2.6.18-53.1.19.el5 2.6-rhel5 RHEL5: 2.6.18-53.1.21.el5
2.6.18-vanilla kernel.org: 2.6.18.8 2.6.18-vanilla kernel.org: 2.6.18.8
2.6.22-vanilla kernel.org: 2.6.22.14 2.6.22-vanilla kernel.org: 2.6.22.14
......
...@@ -511,7 +511,7 @@ cleanup: ...@@ -511,7 +511,7 @@ cleanup:
static inline int ldlm_req_handles_avail(struct obd_export *exp, static inline int ldlm_req_handles_avail(struct obd_export *exp,
int *size, int bufcount, int off) int *size, int bufcount, int off)
{ {
int avail = min_t(int, LDLM_MAXREQSIZE, PAGE_SIZE - 512); int avail = min_t(int, LDLM_MAXREQSIZE, CFS_PAGE_SIZE - 512);
avail -= lustre_msg_size(class_exp2cliimp(exp)->imp_msg_magic, avail -= lustre_msg_size(class_exp2cliimp(exp)->imp_msg_magic,
bufcount, size); bufcount, size);
......
...@@ -878,14 +878,14 @@ static int pages_io(int xfer, loff_t pos) ...@@ -878,14 +878,14 @@ static int pages_io(int xfer, loff_t pos)
/* create sample data */ /* create sample data */
for (i = 0, buf = buf_alloc; i < _npages; i++) { for (i = 0, buf = buf_alloc; i < _npages; i++) {
for (j = 0; j < PAGE_SIZE/sizeof(int); j++, buf++) { for (j = 0; j < CFS_PAGE_SIZE/sizeof(int); j++, buf++) {
*buf = rand(); *buf = rand();
} }
} }
/* compute checksum */ /* compute checksum */
for (i = 0, buf = buf_alloc; i < _npages; i++) { for (i = 0, buf = buf_alloc; i < _npages; i++) {
for (j = 0; j < PAGE_SIZE/sizeof(int); j++, buf++) { for (j = 0; j < CFS_PAGE_SIZE/sizeof(int); j++, buf++) {
check_sum[i] += *buf; check_sum[i] += *buf;
} }
} }
...@@ -903,9 +903,9 @@ static int pages_io(int xfer, loff_t pos) ...@@ -903,9 +903,9 @@ static int pages_io(int xfer, loff_t pos)
} }
gettimeofday(&tw1, NULL); gettimeofday(&tw1, NULL);
for (i = 0, buf = buf_alloc; i < _npages; for (i = 0, buf = buf_alloc; i < _npages;
i += xfer, buf += xfer * PAGE_SIZE / sizeof(int)) { i += xfer, buf += xfer * CFS_PAGE_SIZE / sizeof(int)) {
rc = write(fd, buf, PAGE_SIZE * xfer); rc = write(fd, buf, CFS_PAGE_SIZE * xfer);
if (rc != PAGE_SIZE * xfer) { if (rc != CFS_PAGE_SIZE * xfer) {
printf("write error (i %d, rc %d): %s\n", i, rc, printf("write error (i %d, rc %d): %s\n", i, rc,
strerror(errno)); strerror(errno));
return(1); return(1);
...@@ -923,9 +923,9 @@ static int pages_io(int xfer, loff_t pos) ...@@ -923,9 +923,9 @@ static int pages_io(int xfer, loff_t pos)
} }
gettimeofday(&tr1, NULL); gettimeofday(&tr1, NULL);
for (i = 0, buf = buf_alloc; i < _npages; for (i = 0, buf = buf_alloc; i < _npages;
i += xfer, buf += xfer * PAGE_SIZE / sizeof(int)) { i += xfer, buf += xfer * CFS_PAGE_SIZE / sizeof(int)) {
rc = read(fd, buf, PAGE_SIZE * xfer); rc = read(fd, buf, CFS_PAGE_SIZE * xfer);
if (rc != PAGE_SIZE * xfer) { if (rc != CFS_PAGE_SIZE * xfer) {
printf("read error (i %d, rc %d): %s\n", i, rc, printf("read error (i %d, rc %d): %s\n", i, rc,
strerror(errno)); strerror(errno));
return(1); return(1);
...@@ -936,7 +936,7 @@ static int pages_io(int xfer, loff_t pos) ...@@ -936,7 +936,7 @@ static int pages_io(int xfer, loff_t pos)
/* compute checksum */ /* compute checksum */
for (i = 0, buf = buf_alloc; i < _npages; i++) { for (i = 0, buf = buf_alloc; i < _npages; i++) {
int sum = 0; int sum = 0;
for (j = 0; j < PAGE_SIZE/sizeof(int); j++, buf++) { for (j = 0; j < CFS_PAGE_SIZE/sizeof(int); j++, buf++) {
sum += *buf; sum += *buf;
} }
if (sum != check_sum[i]) { if (sum != check_sum[i]) {
...@@ -951,8 +951,8 @@ static int pages_io(int xfer, loff_t pos) ...@@ -951,8 +951,8 @@ static int pages_io(int xfer, loff_t pos)
tw = (tw2.tv_sec - tw1.tv_sec) * 1000000 + (tw2.tv_usec - tw1.tv_usec); tw = (tw2.tv_sec - tw1.tv_sec) * 1000000 + (tw2.tv_usec - tw1.tv_usec);
tr = (tr2.tv_sec - tr1.tv_sec) * 1000000 + (tr2.tv_usec - tr1.tv_usec); tr = (tr2.tv_sec - tr1.tv_sec) * 1000000 + (tr2.tv_usec - tr1.tv_usec);
printf(" (R:%.3fM/s, W:%.3fM/s)\n", printf(" (R:%.3fM/s, W:%.3fM/s)\n",
(_npages * PAGE_SIZE) / (tw / 1000000.0) / (1024 * 1024), (_npages * CFS_PAGE_SIZE) / (tw / 1000000.0) / (1024 * 1024),
(_npages * PAGE_SIZE) / (tr / 1000000.0) / (1024 * 1024)); (_npages * CFS_PAGE_SIZE) / (tr / 1000000.0) / (1024 * 1024));
if (data_error) if (data_error)
return 1; return 1;
...@@ -1468,7 +1468,7 @@ int main(int argc, char * const argv[]) ...@@ -1468,7 +1468,7 @@ int main(int argc, char * const argv[])
__liblustre_setup_(); __liblustre_setup_();
buf_size = _npages * PAGE_SIZE; buf_size = _npages * CFS_PAGE_SIZE;
if (opt_verbose) if (opt_verbose)
printf("allocating %d bytes buffer\n", buf_size); printf("allocating %d bytes buffer\n", buf_size);
buf_alloc = calloc(1, buf_size); buf_alloc = calloc(1, buf_size);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment