[LU-789] bz24546: After upgrade of Lustre from 1.8.2 to 1.8.5 (RHEL 5.4 to 5.5) OST are randomly crashing. Created: 24/Oct/11  Updated: 26/Oct/11  Resolved: 26/Oct/11

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

Type: Bug Priority: Minor
Reporter: Zhenyu Xu Assignee: Zhenyu Xu
Resolution: Won't Fix Votes: 0
Labels: None
Environment:

before 2.6.32 linux kernel


Severity: 3
Bugzilla ID: 24,546
Rank (Obsolete): 6536

 Description   

There is a hack in the dm code where we allocate an extra bi_io_vec to store additional private data. This hack combines with our blkdev tunable patch which adopt MAX_HW_SEGMENTS to 256 will cause bio_alloc_bioset() returns NULL bio, NULL pointer reference ensues.

We need include 2.6.32 upstream patch for the issue (linux kernel commit f1e539874655ae9e74c1644fd54133b19f1b14e2) into blkdev_tunable kernel patch for pre-2.6.32 kernel support release.



 Comments   
Comment by Zhenyu Xu [ 25/Oct/11 ]

patch tracking at http://review.whamcloud.com/1587

Comment by Zhenyu Xu [ 26/Oct/11 ]

linux-2.6.18-274.3.1.el5 kernel already contains the bio size limitation, we don't need this patch.

Comment by Zhenyu Xu [ 26/Oct/11 ]

1.8.7 supports linux-2.6.18-274.3.1.el5 kernel, and it has already contained the bio size limitation.

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