- Oct 06, 2018
-
-
Jian Yu authored
Update SLES12 SP3 kernel to 4.4.155-94.50. Test-Parameters: envdefinitions=CONF_SANITY_EXCEPT=103 \ mdtfilesystemtype=ldiskfs ostfilesystemtype=ldiskfs \ clientdistro=sles12sp3 ossdistro=sles12sp3 mdsdistro=sles12sp3 \ testlist=sanity,conf-sanity,sanity-sec Change-Id: I47b72420664fe614a2da7c864c401a9729d96c55 Signed-off-by:
Jian Yu <yujian@whamcloud.com> Reviewed-on: https://review.whamcloud.com/33236 Tested-by: Jenkins Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Yang Sheng <ys@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
- Oct 05, 2018
-
-
Li Dongyang authored
Marking mmp bh dirty before writing it will make writeback pick up mmp block later and submit a write, we don't want the duplicate write as kmmpd thread should have full control of reading and writing the mmp block. Another reason is we will also have random I/O error on the writeback request when blk integrity is enabled, because kmmpd could modify the content of the mmp block(e.g. setting new seq and time) while the mmp block is under I/O requested by writeback. Linux-commit: fe18d649891d813964d3aaeebad873f281627fbc Test-Parameters: testgroup=review-ldiskfs testlist=mmp Signed-off-by:
Li Dongyang <dongyangli@ddn.com> Change-Id: I5aa9fd384a4ea25ee52f1198528fae4ecc9c28c7 Reviewed-on: https://review.whamcloud.com/33038 Tested-by: Jenkins Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Wang Shilong <wshilong@ddn.com> Tested-by:
Maloo <hpdd-maloo@intel.com>
-
- Sep 21, 2018
-
-
Li Dongyang authored
the original ext4-corrupted-inode-block-bitmaps-handling-patches.patch missed the changes to ext4_validate_inode_bitmap, add it back Test-Parameters: trivial Signed-off-by:
Li Dongyang <dongyangli@ddn.com> Change-Id: I42ff97be5c5680be04d69e0e818b622df6bd400d Reviewed-on: https://review.whamcloud.com/33144 Tested-by: Jenkins Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Yang Sheng <ys@whamcloud.com> Reviewed-by:
James Simmons <uja.ornl@yahoo.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
- Sep 01, 2018
-
-
Jian Yu authored
Update SLES12 SP3 kernel to 4.4.143-94.47. Test-Parameters: mdtfilesystemtype=ldiskfs ostfilesystemtype=ldiskfs \ clientdistro=sles12sp3 ossdistro=sles12sp3 mdsdistro=sles12sp3 \ testgroup=review-ldiskfs Change-Id: I8b2c99c9a65149f1b149fa91351970034d6f7a47 Signed-off-by:
Jian Yu <yujian@whamcloud.com> Reviewed-on: https://review.whamcloud.com/33065 Tested-by: Jenkins Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Yang Sheng <ys@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
- Jul 30, 2018
-
-
Li Dongyang authored
This enables server build for Ubuntu 18.04 LTS, the ldiskfs patches are based on Gael's 4.12 support, they apply to kernel versions 4.15.0-20.21 to 4.15.0-23.25 There's also a small fix to make dpkg happy when installing lustre packages which requires lustre-client-utils. Test-Parameters: clientdistro=ubuntu1604 trivial Signed-off-by:
Li Dongyang <dongyangli@ddn.com> Signed-off-by:
Gael Delbary <gael.delbary@cea.fr> Change-Id: I65e1a5ee0d17115f23ba071ff1ab23b4fb22e78f Reviewed-on: https://review.whamcloud.com/32613 Tested-by: Jenkins Reviewed-by:
Quentin Bouget <quentin.bouget@cea.fr> Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Yang Sheng <ys@whamcloud.com> Reviewed-by:
James Simmons <uja.ornl@yahoo.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
- Jun 14, 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/32599 Reviewed-by:
Yang Sheng <yang.sheng@intel.com> Reviewed-by:
Minh Diep <minh.diep@intel.com> Tested-by: Jenkins Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
Alex Zhuravlev authored
osd-ldiskfs should execute truncate outside of main transaction handle. This avoids restarting truncate transaction handles in main transaction, and allows "transaction first, locking second" model on OST. Change-Id: Iffe45c42834c26ca72b65e068ad25ac61d0607c8 Signed-off-by:
Alex Zhuravlev <alexey.zhuravlev@intel.com> Reviewed-on: https://review.whamcloud.com/27488 Tested-by: Jenkins Reviewed-by:
Andreas Dilger <andreas.dilger@intel.com> Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Fan Yong <fan.yong@intel.com>
-
- May 21, 2018
-
-
Bob Glossman authored
With this mod we switch our supported el7 version to RHEL 7.5 Signed-off-by:
Bob Glossman <bob.glossman@intel.com> Change-Id: Iedcea9498591d15eab69187274e4c32c57879e4e Reviewed-on: https://review.whamcloud.com/32370 Reviewed-by:
Yang Sheng <yang.sheng@intel.com> Reviewed-by:
Minh Diep <minh.diep@intel.com> Tested-by: Jenkins Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
- May 12, 2018
-
-
Bob Glossman authored
Update target, kernel_config, and ldiskfs files for new version ldiskfs for sles12sp2 and sles12sp3 are no longer identical, so revise some build files for sles12sp2 here too. 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: If554b24644f763462002d81309f8edfa016210e8 Reviewed-on: https://review.whamcloud.com/32139 Tested-by: Jenkins Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Minh Diep <minh.diep@intel.com> Reviewed-by:
Yang Sheng <yang.sheng@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
- Apr 09, 2018
-
-
Wang Shilong authored
On one Customer site, we hit following deadlock: Thread 1: ofd_object_punch osd_punch ldiskfs_truncate ldiskfs_inode_attach_jinode ... do_try_to_free_pages lu_cache_shrink mutex_lock -->try to hold @lu_sites_guard kswapd thread2: kthread shrink_slab lu_cache_shrink mutex_lock ---->hold already. ... dqget ldiskfs_acquire_dquot jbd2__journal_start-->blocked to wait for more credits. Thread3: kthread kjournald2 jbd2_journal_commit_transaction-->blocked to wait Thread2 finished, since Thread1 add a handle into transaction. So deadlock happens because of Thread1 wait Thread2, Thread2 wait Thread3.. but Thread3 wait Thread1.... This problem still exists even we have switched @lu_sites_guard into a read/write lock, sine we hold write lock at lu_cahce_shrink(). Fixed the problem by making ldiskfs_inode_attach_jinode() use GFP_NOFS. Test-Parameters: testgroup=review-ldiskfs \ mdtfilesystemtype=ldiskfs ostfilesystemtype=ldiskfs Change-Id: I0ab143fc0cdb8e1b0c490c2c25e8af483c491a81 Signed-off-by:
Wang Shilong <wshilong@ddn.com> Signed-off-by:
Bob Glossman <bob.glossman@intel.com> Reviewed-on: https://review.whamcloud.com/31806 Tested-by: Jenkins Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Andreas Dilger <andreas.dilger@intel.com> Reviewed-by:
Dmitry Eremin <dmitry.eremin@intel.com>
-
Yang Sheng authored
Move ext4_tranfer_project from ldiskfs to osd. Since upstream has accepted other projid patches except this part. Signed-off-by:
Yang Sheng <yang.sheng@intel.com> Change-Id: I6e5acdf68ab9f7bc964d79f29132cee45e2fd3ac Reviewed-on: https://review.whamcloud.com/31647 Tested-by: Jenkins Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Wang Shilong <wshilong@ddn.com> Reviewed-by:
Bob Glossman <bob.glossman@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
Wang Shilong authored
See comments in ext4_free_clusters_after_init: /* Return the number of free blocks in a block group. It is used when * the block bitmap is uninitialized, so we can't just count the bits * in the bitmap. */ So extra check we enhanced here is wrong if this block group bitmap is uninitialized, since we only check bitmaps here. Further, Looking at EXT4_BG_BLOCK_UNINIT clear codes, Kernel will reinit free_clusters_count when tried to clear the flag, so extra check for uninited block bitmaps dosen't make much sense. Let's skip uninited block bitmap check if EXT4_BG_BLOCK_UNINIT is set, whatever free count group desc recorded is untrustable somehow Change-Id: I845f2e0e17e53b7e3073399bd8b0a85e3db66ef8 Signed-off-by:
Wang Shilong <wshilong@ddn.com> Reviewed-on: https://review.whamcloud.com/31720 Tested-by: Jenkins Reviewed-by:
Andreas Dilger <andreas.dilger@intel.com> Reviewed-by:
Fan Yong <fan.yong@intel.com> Tested-by:
Maloo <hpdd-maloo@intel.com>
-
- Mar 08, 2018
-
-
Artem Blagodarenko authored
With 300TB OST size, we saw slow mount time, which caused 13 minutes, with this patch applied, it reduced to 30s, so this patch greatly reduce mount time, backport it from Linux upstream. Linux-commit: 85c8f176a6111ecde9c158109989dbd445a0e59a With enabled meta_bg option block group descriptors reading IO is not sequential and requires optimization. Seagate-bug-id: MRP-4129 Signed-off-by:
Andrew Perepechko <andrew.perepechko@seagate.com> Signed-off-by:
Artem Blagodarenko <artem.blagodarenko@seagate.com> Change-Id: Iaa621c11ff88364021887d9f9dcec250dd5fd955 Signed-off-by:
Wang Shilong <wshilong@ddn.com> Reviewed-on: https://review.whamcloud.com/25722 Tested-by: Jenkins Reviewed-by:
Andreas Dilger <andreas.dilger@intel.com> Tested-by:
Maloo <hpdd-maloo@intel.com>
-
- Feb 27, 2018
-
-
Emoly Liu authored
In order to match the enhanced ea_inode functionality being landed to the upstream ext4 kernel tree, ext4-large-eas.patch is modified to start properly initializing some of the fields we don't currently use to minimize the interoperability issues. In particular, the new EA inode refcount is initialized to 1, and hash field is computed based on the xattr value as it is in the upstream kernel patch. However, since ext4_xattr_inode_get_hash() has not been added to ldiskfs code so that this hash value is not used anywhere, if the new checksum driver (sbi->s_chksum_driver) is not available, hash value will be 0 in the current implementation, until we find a way to calculate it based on the xattr value propely. Signed-off-by:
Emoly Liu <emoly.liu@intel.com> Change-Id: I2bcf45c67a580f2f545816e1a70a6322c6ccc368 Reviewed-on: https://review.whamcloud.com/31033 Tested-by: Jenkins Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Fan Yong <fan.yong@intel.com> Reviewed-by:
Yang Sheng <yang.sheng@intel.com> Reviewed-by:
Andreas Dilger <andreas.dilger@intel.com>
-
- Feb 06, 2018
-
-
Martin Schroeder authored
This enables compatibility with the current LTS flavours of Ubuntu. Do note that you need the Xenial HWE Kernel for Ubuntu 14.04.5, as that distribution originally used a 3.x series Kernel. The patches have been developed to apply cleanly to the kernel versions 4.4.0-45.66 to 4.4.0-85.108 from the Ubuntu Xenial (and its Trusty backports). This change also adjusts the Debian scripting to produce the ldiskfs modules and the server utilities. To create the server modules run "./configure" with "--enable-server" and specify "--enable-ldiskfs" and "--with-zfs/-spl" as appropriate. The call to "make debs" will then produce the server modules and utils instead of their client versions. NOTE: This contains a small hack taken from LU-9995 / #29130 Test-Parameters: trivial Signed-off-by:
Martin Schroeder <martin.h.schroeder@intel.com> Change-Id: I02cd5e9314367ad4e1f8f3d81712f84441a8bc71 Reviewed-on: https://review.whamcloud.com/29215 Tested-by: Jenkins Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
James Simmons <uja.ornl@yahoo.com> Reviewed-by:
Thomas Stibor <t.stibor@gsi.de> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
- Nov 22, 2017
-
-
Wang Shilong authored
Backport following upstream patches: ------ ext4: cleanup goto next group avoid duplicated codes, also we need goto next group in case we found reserved inode. ------ ext4: reduce lock contention in __ext4_new_inode While running number of creating file threads concurrently, we found heavy lock contention on group spinlock: FUNC TOTAL_TIME(us) COUNT AVG(us) ext4_create 1707443399 1440000 1185.72 _raw_spin_lock 1317641501 180899929 7.28 jbd2__journal_start 287821030 1453950 197.96 jbd2_journal_get_write_access 33441470 73077185 0.46 ext4_add_nondir 29435963 1440000 20.44 ext4_add_entry 26015166 1440049 18.07 ext4_dx_add_entry 25729337 1432814 17.96 ext4_mark_inode_dirty 12302433 5774407 2.13 most of cpu time blames to _raw_spin_lock, here is some testing numbers with/without patch. Test environment: Server : SuperMicro Sever (2 x E5-2690 v3@2.60GHz, 128GB 2133MHz DDR4 Memory, 8GbFC) Storage : 2 x RAID1 (DDN SFA7700X, 4 x Toshiba PX02SMU020 200GB Read Intensive SSD) format command: mkfs.ext4 -J size=4096 test command: mpirun -np 48 mdtest -n 30000 -d /ext4/mdtest.out -F -C \ -r -i 1 -v -p 10 -u #first run to load inode mpirun -np 48 mdtest -n 30000 -d /ext4/mdtest.out -F -C \ -r -i 3 -v -p 10 -u Kernel version: 4.13.0-rc3 Test 1,440,000 files with 48 directories by 48 processes: Without patch: File Creation File removal 79,033 289,569 ops/per second 81,463 285,359 79,875 288,475 With patch: File Creation File removal 810669 301694 812805 302711 813965 297670 Creation performance is improved more than 10X with large journal size. The main problem here is we test bitmap and do some check and journal operations which could be slept, then we test and set with lock hold, this could be racy, and make 'inode' steal by other process. However, after first try, we could confirm handle has been started and inode bitmap journaled too, then we could find and set bit with lock hold directly, this will mostly gurateee success with second try. Signed-off-by:
Wang Shilong <wshilong@ddn.com> Change-Id: I234ff3027c8d96155d374c56b12aab7c4dc0dafd Reviewed-on: https://review.whamcloud.com/29032 Tested-by: Jenkins Reviewed-by:
Andreas Dilger <andreas.dilger@intel.com> Reviewed-by:
Gu Zheng <gzheng@ddn.com> Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
- Oct 24, 2017
-
-
Yang Sheng authored
Since kstrtol needs a null-terminor string so we back to use simple_strtol in prealloc patches. Signed-off-by:
Yang Sheng <yang.sheng@intel.com> Change-Id: I331308d830fbeef9c00156bb8c14b43651d66420 Reviewed-on: https://review.whamcloud.com/28553 Reviewed-by:
Bob Glossman <bob.glossman@intel.com> Tested-by: Jenkins Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Alexey Lyashkov <c17817@cray.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
- Oct 19, 2017
-
-
Bob Glossman authored
Minor linux version upgrade, but SP2 and SP3 use linux 4.4 versions. Some new kernel patches, a few revised ldiskfs patches. All new target and config files. Some autoconf changes to adapt to new or altered kernel APIs. Test-Parameters: clientdistro=sles12sp3 testgroup=review-ldiskfs \ mdsdistro=sles12sp3 ossdistro=sles12sp3 \ mdtfilesystemtype=ldiskfs ostfilesystemtype=ldiskfs Change-Id: I99e2b6848197ea19402fa415fdb562d03e87d947 Signed-off-by:
Bob Glossman <bob.glossman@intel.com> Signed-off-by:
Yang Sheng <yang.sheng@intel.com> Reviewed-on: https://review.whamcloud.com/28910 Tested-by: Jenkins Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Minh Diep <minh.diep@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
- Oct 16, 2017
-
-
Bob Glossman authored
In some execution paths jinode data structures are not getting initialized. Add an extra init call to fix that. Test-Parameters: clientdistro=sles12sp2 testlist=conf-sanity \ mdsdistro=sles12sp2 ossdistro=sles12sp2 \ mdtfilesystemtype=ldiskfs ostfilesystemtype=ldiskfs Signed-off-by:
Bob Glossman <bob.glossman@intel.com> Change-Id: I087eb06b9c5122be1cfd0aabbc04ea1db7ec765a Reviewed-on: https://review.whamcloud.com/28665 Tested-by: Jenkins Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Yang Sheng <yang.sheng@intel.com> Reviewed-by:
Hongchao Zhang <hongchao.zhang@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
- Aug 28, 2017
-
-
Wang Shilong authored
Currently, osd-ldiskfs call __ldiskfs_ioctl_project() to transfer project quota which is user ioctl for ext4 which will start a transaction, and reserve credits, this is not right logic with Lustre. Lustre have started a transaction handle and credits should be reserved during declare phase, so calling _ldiskfs_ioctl_project() here will cause nested handle starting, which is not a problem for JBD2 because it will attach current thread's handle if transaction have been started, but in this case it will ignore credits reservation. Also Lustre don't need inode mutex protection for project transfer, we don't need write inode in transfer codes, it will be done when dirty inode is called. Setting attr have reserved enough credits for project transfer, we need fix agent inode transfering. This patch makes codes logic clear, also fix credits reservation for DNE agent inode transfering. Change-Id: I6ab3c0fdc4cf456b102e49d9326840fd0e12ade0 Signed-off-by:
Wang Shilong <wshilong@ddn.com> Reviewed-on: https://review.whamcloud.com/28510 Tested-by: Jenkins Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Niu Yawei <yawei.niu@intel.com> Reviewed-by:
Hongchao Zhang <hongchao.zhang@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
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. Signed-off-by:
Fan Yong <fan.yong@intel.com> Change-Id: Iba0fb2bf0632a6e54222472bc724a8ea0478e9ae Reviewed-on: https://review.whamcloud.com/28566 Tested-by: Jenkins Reviewed-by:
Andreas Dilger <andreas.dilger@intel.com> Reviewed-by:
Alex Zhuravlev <alexey.zhuravlev@intel.com> Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
- Aug 17, 2017
-
-
Bob Glossman authored
With this mod we switch our supported el7 version to RHEL 7.4 Signed-off-by:
Bob Glossman <bob.glossman@intel.com> Change-Id: Ib0bcb3547fcf220e1b4665229930c6ff28c6906c Reviewed-on: https://review.whamcloud.com/28301 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>
-
- Aug 01, 2017
-
-
Oleg Drokin authored
This actually breaks our Ubuntu builds which prevents any sort of full testing, so I am reverting this now. This reverts commit 86c3f90d. Change-Id: I14d242bfde1efb0144080b882e63542fc2190465 Reviewed-on: https://review.whamcloud.com/28293 Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com> Tested-by:
Oleg Drokin <oleg.drokin@intel.com> Tested-by: Jenkins
-
- Jul 29, 2017
-
-
Bob Glossman authored
Update target and kernel_config files for new version Test-Parameters: clientdistro=sles12sp2 testgroup=review-ldiskfs \ mdsdistro=sles12sp2 ossdistro=sles12sp2 \ mdtfilesystemtype=ldiskfs ostfilesystemtype=ldiskfs Signed-off-by:
Bob Glossman <bob.glossman@intel.com> Change-Id: I42107acb5a12f5200d3cb58121d10ffdc1dbc6d2 Reviewed-on: https://review.whamcloud.com/28043 Tested-by: Jenkins Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Yang Sheng <yang.sheng@intel.com> Reviewed-by:
Minh Diep <minh.diep@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
- Jul 19, 2017
-
-
Martin Schroeder authored
This enables compatibility with the current LTS flavours of Ubuntu. Do note that you need the Xenial HWE Kernel for Ubuntu 14.04.5, as that distribution originally used a 3.x series Kernel. The patches have been developed to apply cleanly to the kernel versions 4.4.0-45.66 to 4.4.0-85.108 from the Ubuntu Xenial (and its Trusty backports). This change also adjusts the Debian scripting to produce the ldiskfs modules and the server utilities. To create the server modules run "./configure" with "--enable-server" and specify "--enable-ldiskfs" and "--with-zfs/-spl" as appropriate. The call to "make debs" will then produce the server modules and utils instead of their client versions. Test-Parameters: trivial Signed-off-by:
Martin Schroeder <martin.h.schroeder@intel.com> Change-Id: Ia78702da304f735bb932738784f1346be0f39026 Reviewed-on: https://review.whamcloud.com/27323 Tested-by: Jenkins Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Gu Zheng <gzheng@ddn.com> Reviewed-by:
Yang Sheng <yang.sheng@intel.com> Reviewed-by:
Thomas Stibor <t.stibor@gsi.de> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
Bobi Jam authored
When mb prealloc table item value is not valid, the s_mb_prealloc_table_size should be adjust accordingly. Port patch to rhel7 & sles12. Signed-off-by:
Bobi Jam <bobijam.xu@intel.com> Reviewed-by:
Andreas Dilger <andreas.dilger@intel.com> Reviewed-by:
Alexander Boyko <alexander_boyko@xyratex.com> Reviewed-by:
Alex Zhuravlev <alexey.zhuravlev@intel.com> Change-Id: I5aa3a32a6a3aedc70160409c6443746fd2ccbbc9 Reviewed-on: https://review.whamcloud.com/27748 Tested-by: Jenkins Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Bob Glossman <bob.glossman@intel.com> Reviewed-by:
Ben Evans <bevans@cray.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
- Jun 07, 2017
-
-
Bob Glossman authored
Update target and kernel_config files for new version Test-Parameters: clientdistro=sles12 testgroup=review-ldiskfs \ mdsdistro=sles12 ossdistro=sles12 mdtfilesystemtype=ldiskfs \ ostfilesystemtype=ldiskfs Signed-off-by:
Bob Glossman <bob.glossman@intel.com> Change-Id: Ie0cb65603504da3b7dd38ab4962198142b1629f6 Reviewed-on: https://review.whamcloud.com/27222 Tested-by: Jenkins Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Yang Sheng <yang.sheng@intel.com> Reviewed-by:
Minh Diep <minh.diep@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
- Jun 03, 2017
-
-
Yang Sheng authored
Port a patch from upstream for changing extra size: commit 887a9730614727c4fff7cb756711b190593fc1df "ext4: keep existing extra fields when inode expands" Signed-off-by:
Yang Sheng <yang.sheng@intel.com> Change-Id: I9555cb4efd1cbca257536ec699627e8fdb5a5b46 Reviewed-on: https://review.whamcloud.com/27285 Tested-by: Jenkins Reviewed-by:
Andreas Dilger <andreas.dilger@intel.com> Reviewed-by:
Bob Glossman <bob.glossman@intel.com> Tested-by:
Maloo <hpdd-maloo@intel.com>
-
Yang Sheng authored
Port 3 extra isize patches for sles12sp2 as below: commit e3014d14a81edde488d9a6758eea8afc41752d2d "ext4: fixup free space calculations when expanding inodes" commit 94405713889d4a9d341b4ad92956e4e2ec8ec2c2 "ext4: replace bogus assertion in ext4_xattr_shift_entries()" commit 887a9730614727c4fff7cb756711b190593fc1df "ext4: keep existing extra fields when inode expands" Signed-off-by:
Yang Sheng <yang.sheng@intel.com> Change-Id: Iab0914d0010436aa26d99b78b2ae4acea783fb7d Reviewed-on: https://review.whamcloud.com/27244 Tested-by: Jenkins Reviewed-by:
Bob Glossman <bob.glossman@intel.com> Reviewed-by:
Andreas Dilger <andreas.dilger@intel.com> Tested-by:
Maloo <hpdd-maloo@intel.com>
-
- May 29, 2017
-
-
Bob Glossman authored
Update SLES11 SP4 kernel to 3.0.101-100 Refresh one ldiskfs patch for ext4 context changes. Test-Parameters: mdsdistro=sles11sp4 ossdistro=sles11sp4 \ clientdistro=sles11sp4 mdtfilesystemtype=ldiskfs \ ostfilesystemtype=ldiskfs testgroup=review-ldiskfs Signed-off-by:
Bob Glossman <bob.glossman@intel.com> Change-Id: Ia392004c12dda9d49c0f596b166f333e7fcae590 Reviewed-on: https://review.whamcloud.com/27132 Tested-by: Jenkins Reviewed-by:
Minh Diep <minh.diep@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>
-
Alex Zhuravlev authored
few cleanups to support gcc6 Change-Id: Ibe664e87ff67eb3d34ce09c9a1892e55a63ab2cb Signed-off-by:
Alex Zhuravlev <bzzz@whamcloud.com> Reviewed-on: https://review.whamcloud.com/26584 Tested-by: Jenkins Reviewed-by:
Dmitry Eremin <dmitry.eremin@intel.com> Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
James Simmons <uja.ornl@yahoo.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
- May 24, 2017
-
-
Yang Sheng authored
When ldiskfs runs in failover mode with read-only disk, it may lose part of allocation updates and fail while mounting fs due to group descriptor checks before journal replay. Don't produce panics with on-disk checks in read-only mode. Include ext4-dont-check-before-replay and ext4-dont-check-in-ro patches in the RHEL7.3 series. The check-ro patch should be ported in to RHEL7.3. Signed-off-by:
Yang Sheng <yang.sheng@intel.com> Change-Id: Icd4b899f9c48040c2453c4d759149e323fa33e18 Reviewed-on: https://review.whamcloud.com/27077 Tested-by: Jenkins Reviewed-by:
Andreas Dilger <andreas.dilger@intel.com> Reviewed-by:
Bob Glossman <bob.glossman@intel.com> Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
- May 20, 2017
-
-
Yang Sheng authored
Port upstream 5 patches for changing extra isize as below: commit d0141191a20289f8955c1e03dad08e42e6f71ca9 "ext4: fix xattr shifting when expanding inodes" commit 418c12d08dc64a45107c467ec1ba29b5e69b0715 "ext4: fix xattr shifting when expanding inodes part 2" commit 443a8c41cd49de66a3fda45b32b9860ea0292b84 "ext4: properly align shifted xattrs when expanding inodes" commit e3014d14a81edde488d9a6758eea8afc41752d2d "ext4: fixup free space calculations when expanding inodes" commit 94405713889d4a9d341b4ad92956e4e2ec8ec2c2 "ext4: replace bogus assertion in ext4_xattr_shift_entries()" Signed-off-by:
Yang Sheng <yang.sheng@intel.com> Change-Id: I01414bcc91d8f57ca72281916d35536d3926e570 Reviewed-on: https://review.whamcloud.com/27045 Tested-by: Jenkins Reviewed-by:
Andreas Dilger <andreas.dilger@intel.com> Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Wang Shilong <wshilong@ddn.com> Reviewed-by:
Fan Yong <fan.yong@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
- May 09, 2017
-
-
Yang Sheng authored
Port failover mode patches to other distro and fix failure path in replay patch. Signed-off-by:
Yang Sheng <yang.sheng@intel.com> Change-Id: I51f5ca0b906a3cbd7554fabb8b447cda4096c781 Reviewed-on: https://review.whamcloud.com/26854 Tested-by: Jenkins Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Bob Glossman <bob.glossman@intel.com> Reviewed-by:
Niu Yawei <yawei.niu@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
- Apr 28, 2017
-
-
Wang Shilong authored
include/linux/quota.h undefine @PRJQUOTA and make it enum, ldiskfs macro check here will be negative, fix it to use @HAVE_PROJECT_QUOTA, also wrap ext4-export-*.patch to ext4-projid-feature-support.patch. Change-Id: I415e366423408413dfb5b99dee98f7a30513f83f Signed-off-by:
Wang Shilong <wshilong@ddn.com> Reviewed-on: https://review.whamcloud.com/26769 Reviewed-by:
Andreas Dilger <andreas.dilger@intel.com> Reviewed-by:
Yang Sheng <yang.sheng@intel.com> Reviewed-by:
Li Xi <lixi@ddn.com> Tested-by: Jenkins Reviewed-by:
James Simmons <uja.ornl@yahoo.com> Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
- Apr 18, 2017
-
-
Oleg Drokin authored
Update ldiskfs patches to ensure buildability on unpatched rhel7.2/7.3 Also update lustre_user.h definition of LL_IOC_FSSETXATTR in the face of missing define of FS_IOC_FSSETXATTR Change-Id: I518e46e727086ed5e10b4820c4e69b2ea896fd43 Signed-off-by:
Oleg Drokin <oleg.drokin@intel.com> Reviewed-on: https://review.whamcloud.com/26647 Tested-by: Jenkins Reviewed-by:
Wang Shilong <wshilong@ddn.com> Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
James Simmons <uja.ornl@yahoo.com> Reviewed-by:
Andreas Dilger <andreas.dilger@intel.com>
-
- Apr 13, 2017
-
-
Wang Shilong authored
Export this helper so that lustre can save project id to MDS and OST objects Signed-off-by:
Wang Shilong <wshilong@ddn.com> Change-Id: I5c374e6dc7a509c0cbd46ac383b8d99f7f67d6b6 Reviewed-on: https://review.whamcloud.com/23945 Reviewed-by:
Niu Yawei <yawei.niu@intel.com> Reviewed-by:
Li Xi <lixi@ddn.com> Tested-by: Jenkins Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
Wang Shilong authored
Pick following patchs from upstream: commit 847aac644e92e5624f2c153bab409bf713d5ff9a vfs: Add general support to enforce project quota limits This patch adds support for a new quota type PRJQUOTA for project quota enforcement. Also a new method get_projid() is added into dquot_operations structure. Signed-off-by:
Li Xi <lixi@ddn.com> Signed-off-by:
Dmitry Monakhov <dmonakhov@openvz.org> Reviewed-by:
Jan Kara <jack@suse.cz> Signed-off-by:
Jan Kara <jack@suse.cz> commit 334e580a6f97e2e84d1c19a8679603956acaa622 fs: XFS_IOC_FS[SG]SETXATTR to FS_IOC_FS[SG]ETXATTR promotion Hoist the ioctl definitions for the XFS_IOC_FS[SG]SETXATTR API from fs/xfs/libxfs/xfs_fs.h to include/uapi/linux/fs.h so that the ioctls can be used by all filesystems, not just XFS. This enables (initially) ext4 to use the ioctl to set project IDs on inodes. Based-on-patch-from: Li Xi <lixi@ddn.com> Signed-off-by:
Dave Chinner <dchinner@redhat.com> Above two chages are wrapped into vfs-project-quotas-rhel7.patch commit 040cb3786d9b25293b8b0b05b90da0f871e1eb9b ext4: adds project ID support Signed-off-by:
Li Xi <lixi@ddn.com> Signed-off-by:
Theodore Ts'o <tytso@mit.edu> Reviewed-by:
Andreas Dilger <adilger@dilger.ca> Reviewed-by:
Jan Kara <jack@suse.cz> commit 689c958cbe6be4f211b40747951a3ba2c73b6715 ext4: add project quota support This patch adds mount options for enabling/disabling project quota accounting and enforcement. A new specific inode is also used for project quota accounting. [Includes fix from Dan Carpenter to correct error checking from dqget(). ] Signed-off-by:
Li Xi <lixi@ddn.com> Signed-off-by:
Dmitry Monakhov <dmonakhov@openvz.org> Signed-off-by:
Theodore Ts'o <tytso@mit.edu> Reviewed-by:
Andreas Dilger <adilger@dilger.ca> Reviewed-by:
Jan Kara <jack@suse.cz> commit 9b7365fc1c82038faa52d56173b20221cf422cbe ext4: add FS_IOC_FSSETXATTR/FS_IOC_FSGETXATTR interface support This patch adds FS_IOC_FSSETXATTR/FS_IOC_FSGETXATTR ioctl interface support for ext4. The interface is kept consistent with XFS_IOC_FSGETXATTR/XFS_IOC_FSGETXATTR. Signed-off-by:
Li Xi <lixi@ddn.com> Signed-off-by:
Theodore Ts'o <tytso@mit.edu> Reviewed-by:
Andreas Dilger <adilger@dilger.ca> Reviewed-by:
Jan Kara <jack@suse.cz> This patch add ldiskfs project quota support Did following adjustment from original patches: 1.adds padding structure to superblock, so that @s_prj_num is in the same position of superblock from upstream. 2.Patch aslo disable kabi check for rhel7, since any of vfs patch's include files change will break the check Also fix conf-sanity: test_55, because now debugfs output Project ID, we should output file size. Signed-off-by:
Li Xi <lixi@ddn.com> Signed-off-by:
Wang Shilong <wshilong@ddn.com> Change-Id: I2392f402d9853af969e4cd37318a83f2c4941c3e Reviewed-on: https://review.whamcloud.com/17770 Reviewed-by:
Niu Yawei <yawei.niu@intel.com> Tested-by: Jenkins Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
- Apr 06, 2017
-
-
Bob Glossman authored
Changes to support new kernel version in new el6.9 release distro New kernel-config and target files. Revised base kernel and ldiskfs patches. Small adjustments to lbuild and autoconf. Test-Parameters: clientdistro=el6.9 mdsdistro=el6.9 ossdistro=el6.9 Signed-off-by:
Bob Glossman <bob.glossman@intel.com> Change-Id: Idd341e4db98c3e6e91c9d8696a9a5e7f03ded6fe Reviewed-on: https://review.whamcloud.com/26111 Tested-by: Jenkins Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Yang Sheng <yang.sheng@intel.com> Reviewed-by:
Minh Diep <minh.diep@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-
- Mar 23, 2017
-
-
Bob Glossman authored
Update target and kernel_config files for new version 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: I210b548c1f27a9e444626a29dfd61953850d60ff Reviewed-on: https://review.whamcloud.com/25688 Tested-by: Jenkins Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Yang Sheng <yang.sheng@intel.com> Reviewed-by:
Minh Diep <minh.diep@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
-