[LU-4631] ll_readdir() does not assign pos properly Created: 14/Feb/14 Updated: 03/Jun/14 Resolved: 03/Jun/14 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.6.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Peng Tao | Assignee: | WC Triage |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | patch | ||
| Severity: | 3 |
| Rank (Obsolete): | 12674 |
| Description |
|
pos seems not assigned after ll_dir_read() and we never get MDS_DIR_END_OFF. 306 op_data->op_hash_offset = pos;
307 op_data->op_max_pages = sbi->ll_md_brw_size >> PAGE_CACHE_SHIFT;
308 rc = ll_dir_read(inode, op_data, cookie, filldir);
309 if (lfd != NULL)
310 lfd->lfd_pos = op_data->op_hash_offset;
311
312 if (pos == MDS_DIR_END_OFF) {
|
| Comments |
| Comment by Peng Tao [ 14/Feb/14 ] |
|
patch tracking at http://review.whamcloud.com/#/c/9271/ |
| Comment by Di Wang [ 14/Feb/14 ] |
|
duplicate with |
| Comment by Peng Tao [ 15/Feb/14 ] |
|
Thanks Wang Di. I've abandoned the patch. |
| Comment by Cliff White (Inactive) [ 18/Feb/14 ] |
|
Patch has been abandoned |
| Comment by Jodi Levi (Inactive) [ 03/Jun/14 ] |
|
Reopening to close as a duplicate as indicated in the ticket. |