- Jun 11, 2018
-
-
Bob Glossman authored
Update target, kernel_config, and ldiskfs files for new version One ldiskfs patch revised for ext4 changes. Old unchanged ldiskfs patch kept to use for sles12sp2. Test-Parameters: clientdistro=sles12sp3 testgroup=review-ldiskfs \ mdsdistro=sles12sp3 ossdistro=sles12sp3 \ mdtfilesystemtype=ldiskfs ostfilesystemtype=ldiskfs Signed-off-by:
Bob Glossman <bob.glossman@intel.com> Change-Id: Ic6d0219a7133825d1dba0b2bfadf8354442cddb3 Reviewed-on: https://review.whamcloud.com/32600 Reviewed-by:
Yang Sheng <yang.sheng@intel.com> Tested-by: Jenkins Reviewed-by:
Minh Diep <minh.diep@intel.com> Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
John L. Hammond <john.hammond@intel.com>
-
- Sep 06, 2017
-
-
Fan Yong authored
When initializes (reformat) the filesystem, the number of free blocks in the group descriptor is calculated via the ext2fs_reserve_super_and_bgd() (e2fsprogs). As commented in such function: "This is not necessarily the case when the flex_bg feature is enabled, so callers should take care!". So it is normal that we may find the block group descriptor that has LDISKFS_BG_BLOCK_UNINIT flag but with 0 free blocks. The ldiskfs_mb_check_ondisk_bitmap() should NOT report error for such block group, instead, skip the check directly. Lustre-change: https://review.whamcloud.com/28566 Lustre-commit: 5506c15a Signed-off-by:
Fan Yong <fan.yong@intel.com> Change-Id: Iba0fb2bf0632a6e54222472bc724a8ea0478e9ae Reviewed-by:
Andreas Dilger <andreas.dilger@intel.com> Reviewed-by:
Alex Zhuravlev <alexey.zhuravlev@intel.com> Signed-off-by:
Minh Diep <minh.diep@intel.com> Reviewed-on: https://review.whamcloud.com/28765 Tested-by: Jenkins Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
John L. Hammond <john.hammond@intel.com>
-
- Jan 18, 2017
-
-
Bob Glossman authored
Major linux version upgrade, from linux 3.12 to linux 4.4. All new ldiskfs and kernel patches. All new target and config files. Test-Parameters: clientdistro=sles12sp2 testgroup=review-ldiskfs \ mdsdistro=sles12sp2 ossdistro=sles12sp2 mdsfilesystemtype=ldiskfs \ mdtfilesystemtype=ldiskfs ostfilesystemtype=ldiskfs Signed-off-by:
Bob Glossman <bob.glossman@intel.com> Change-Id: I354197d5426ebde3da6c814bfb7f97f0f04113eb Reviewed-on: https://review.whamcloud.com/24257 Tested-by: Jenkins Reviewed-by:
Yang Sheng <yang.sheng@intel.com> Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Minh Diep <minh.diep@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
- Dec 04, 2015
-
-
Wang Shilong authored
We still hit bitmaps problems for rhel6 series kernel, corruptions happen because ext4_mb_check_ondisk_bitmap() check failed and FS become RO again: ldiskfs_mb_check_ondisk_bitmap: on-disk bitmap for group 294corrupted: 20180 blocks free in bitmap, 20181 - in gd Aborting journal on device dm-6-8. LDISKFS-fs (dm-6): Remounting filesystem read-only ldiskfs_mb_new_blocks: Updating bitmap error: [err -30] [pa ffff880d9d6e4d68] [phy 14974976] [logic 8192] [len 3072] [free 3072] [error 1] [inode 278678] ldiskfs_ext_new_extent_cb: Journal has aborted this might be caused by some ext4 internal bugs, this patch did the following things: 1.Inside ext4_read_block_bitmap() have gaven reasons why it failed, so caller don't need call ext4_error() again. 2. mark block group corrupt and use ext4_warning() instead of ext4_error(). There are still some bitmaps corruption places not handling, let's keep it for now, and if it really hurt, let's add the same handling codes logic later. Tested by following scripts: TEST_DEV="/dev/sdb" TEST_MNT="/mnt/ext4" mkdir -p $TEST_MNT mkfs.ext4 -F $TEST_DEV >&/dev/null mount -t ldiskfs $TEST_DEV $TEST_MNT dd if=/dev/zero of=$TEST_MNT/largefile oflag=direct bs=10485760 count=200 umount $TEST_MNT dd if=/dev/zero of=$TEST_DEV bs=4096 seek=641 count=10 oflag=direct mount -t ldiskfs $TEST_DEV $TEST_MNT rm -f $TEST_MNT/largefile dd if=/dev/zero of=$TEST_MNT/largefile oflag=direct bs=10485760 count=200 && echo "FILESYSTEM still usable after bitmaps corrupts happen" dmesg | tail umount $TEST_MNT e2fsck $TEST_DEV -y Signed-off-by:
Wang Shilong <wshilong@ddn.com> Change-Id: Iabb6ebf719d80d9ba4f41bee0b237e304212832b Reviewed-on: http://review.whamcloud.com/16679 Tested-by: Jenkins Reviewed-by:
Bob Glossman <bob.glossman@intel.com> Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Yang Sheng <yang.sheng@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
- Sep 16, 2015
-
-
Wang Shilong authored
This patch backported following patches from upstream: 163a203ddb36c36d4a1c942aececda0cc8d06aa7 ext4: mark block group as corrupt on block bitmap error 87a39389be3e3b007d341be510a7e4a0542bdf05 ext4: mark block group as corrupt on inode bitmap error bdfb6ff4a255dcebeb09a901250e13a97eff75af ext4: mark group corrupt on group descriptor checksum Also use ext4_warning() instead of ext4_error() so that filesystem don't become RO in default, and together with these patches,FS wil still be usable even such bad things happen. Signed-off-by:
Wang Shilong <wshilong@ddn.com> Change-Id: Ib4075aba7df6f7f59e89a90475405080acd43dd0 Reviewed-on: http://review.whamcloud.com/16312 Tested-by: Jenkins Reviewed-by:
Andreas Dilger <andreas.dilger@intel.com> Reviewed-by:
Yang Sheng <yang.sheng@intel.com> Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-