[LU-7304] ldiskfs bug when bigalloc feature enabled Created: 15/Oct/15 Updated: 30/Aug/16 Resolved: 11/Nov/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.8.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Wang Shilong (Inactive) | Assignee: | Yang Sheng |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch | ||
| Environment: |
Centos7 |
||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
|
When trying to run benchmarking with bigalloc feature, mkfs always failed LDISKFS-fs error (device sdb): ldiskfs_mb_check_ondisk_bitmap:3611: comm mkdir: on-disk bitmap for group 8corrupted: 0 blocks free in bitmap, 32768 - in gd |
| Comments |
| Comment by Gerrit Updater [ 15/Oct/15 ] |
|
Wang Shilong (wshilong@ddn.com) uploaded a new patch: http://review.whamcloud.com/16832 |
| Comment by Joseph Gmitter (Inactive) [ 15/Oct/15 ] |
|
Hi Yang Sheng, |
| Comment by Andreas Dilger [ 16/Oct/15 ] |
|
Thank you for the patch. We have never tested Lustre with the bigalloc feature enabled, though in theory it could provide an improvement for OST performance for large file IO, and also to reduce directory block fragmentation. This will cause small files to consume more space - a whole chunk will be allocated even for very small files. Fortunately, it will still only write 4KB blocks of data rather than the whole chunk. There may be some assumptions in the osd-ldiskfs code about block sizes and chunks, so it is worthwhile to at least look through the block allocation routines to see if there are any problems. I don't think this will affect statfs() since the filesystem blocksize will still remain at 4KB. |
| Comment by Gerrit Updater [ 11/Nov/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/16832/ |
| Comment by Joseph Gmitter (Inactive) [ 11/Nov/15 ] |
|
Landed for 2.8 |