- 07 Aug, 2020 6 commits
-
-
Amir Shehata authored
If discovery is disabled locally or at the remote end, then attempt discovery only once. Do not update the internal database when discovery is disabled and do not repeat discovery. This change prevents LNet from getting hung waiting for discovery to complete. Signed-off-by:
Amir Shehata <ashehata@whamcloud.com> Change-Id: I4543b0f71e6cf297a1a5f058ebcc6bf74b8ac328 Reviewed-on: https://review.whamcloud.com/35191 Reviewed-by:
Olaf Weber <olaf.weber@hpe.com> Tested-by: Jenkins Reviewed-by:
Chris Horn <hornc@cray.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com> Reviewed-on: https://review.whamcloud.com/38890 Reviewed-by:
Chris Horn <chris.horn@hpe.com> Tested-by:
jenkins <devops@whamcloud.com>
-
James Nunez authored
The facet name input to lustre_version_code() in sanityn test 103 should be 'ost1' not a variable '$ost1'. Let's replace this call with the $OST1_VERSION variable. Fixes: 2548cb9e ("LU-11670 osc: glimpse - search for active lock") Test-Parameters: trivial Test-Parameters: serverversion=2.10.8 serverdistro=el7.6 env=ONLY=103 testlist=sanityn Signed-off-by:
James Nunez <jnunez@whamcloud.com> Change-Id: Ib7426f78210c9b32ba53c46ba5f08faeb3ea8ec5 Reviewed-on: https://review.whamcloud.com/38847 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Wei Liu <sarah@whamcloud.com>
-
James Nunez authored
conf-sanity test 117 was added to check error returns from read_param(). This test will fail when run with servers with Lustre version less than 2.12.0 and, thus, should be skipped for all Lustre servers earlier than 2.12.0. Fixes: 6ca2425c ("LU-11198 utils: propagate errors for read_param") Test-Parameters: trivial Test-Parameters: serverversion=2.10.8 serverdistro=el7.6 env=ONLY=117 testlist=conf-sanity Signed-off-by:
James Nunez <jnunez@whamcloud.com> Change-Id: Ia0889584d9c1a6c09ea2a99fa11c7abfd1474de4 Reviewed-on: https://review.whamcloud.com/38851 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Wei Liu <sarah@whamcloud.com>
-
James Nunez authored
In Lustre 2.12.3, the l_tunedisk utility was modified to skip tuning devices on the MDS and MGS and conf-santity test 125 was added to check this functionality. Thus, this test should be skipped for all Lustre server versions prior to 2.12.3. Fixes: bab0570c ("LU-12387 tests: Validate l_tunedisk max_sectors_kb tuning") Test-Parameters: trivial Test-Parameters: serverversion=2.10.8 serverdistro=el7.6 env=ONLY=125 testlist=conf-sanity Signed-off-by:
James Nunez <jnunez@whamcloud.com> Change-Id: I89c2900c2430ff3e76bee297809957380404aa31 Reviewed-on: https://review.whamcloud.com/38850 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Wei Liu <sarah@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Mr NeilBrown authored
target_recovery_overseer() can sleep while holding a spinlock, which triggers a BUG warning. It is easily fixed by dropping the spinlock before waiting. In the case where the task waits, no useful information that could be protected by the spinlock is held, so nothing can be lost by dropping it. Lustre-change: https://review.whamcloud.com/#/c/37063/ Lustre-commit: b29b9310 Signed-off-by:
Mr NeilBrown <neilb@suse.de> Change-Id: I8bb3d02523b5dcfadac19f01ccb736d7b7f28239 Reviewed-on: https://review.whamcloud.com/37063 Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
James Simmons <jsimmons@infradead.org> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Mike Pershin <mpershin@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com> Reviewed-on: https://review.whamcloud.com/39283
-
Hongchao Zhang authored
When creating striped directory, the quota limit has been checked on master MDT, the quota should be ignored when creating the slave stripe object. Lustre-change: https://review.whamcloud.com/#/c/38875/ Lustre-commit: f762aceb Change-Id: Ia53b1975a8d66c78725feb313659f7a9b889e735 Signed-off-by:
Hongchao Zhang <hongchao@whamcloud.com> Reviewed-on: https://review.whamcloud.com/38875 Reviewed-by:
Lai Siyao <lai.siyao@whamcloud.com> Reviewed-by:
Wang Shilong <wshilong@ddn.com> Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com> Reviewed-on: https://review.whamcloud.com/39282 Reviewed-by:
Wang Shilong <wshilong@whamcloud.com>
-
- 11 Jul, 2020 16 commits
-
-
Lai Siyao authored
'lfs mkdir -i -1 -c...' is to create directory on MDTs by space usage, when stripe count is more than 1, the target MDT list is not correctly initialized, which will cause command fail. Signed-off-by:
Lai Siyao <lai.siyao@whamcloud.com> Change-Id: Id4584940cec390a9245e888c96c7873f5afa209e Reviewed-on: https://review.whamcloud.com/39165 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Mikhail Pershin authored
Clients send all lock replays at once and that may overwhelm server with huge amount of replays in recovery queue causing OOM effects. Patch adds rate control for lock replays on client. Patch includes also later fix for signal_completed_replay() race. Lustre-change: https://review.whamcloud.com/38920 Lustre-commit: 3b613a44 Lustre-change: https://review.whamcloud.com/39140 Lustre-commit: dc654756af63bd30802ebd86074019d1533a4d8f Signed-off-by:
Mikhail Pershin <mpershin@whamcloud.com> Change-Id: Ie557f8481c5facb690468d7136cf5feebe4e8f11 Reviewed-on: https://review.whamcloud.com/39111 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com>
-
Jian Yu authored
Update RHEL8.2 kernel to 4.18.0-193.6.3.el8_2 for Lustre client. Test-Parameters: trivial clientdistro=el8.2 Change-Id: Id9eb16b9277bf2157905eb38a23a3250a0033560 Signed-off-by:
Jian Yu <yujian@whamcloud.com> Reviewed-on: https://review.whamcloud.com/38903 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Yang Sheng <ys@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Andreas Dilger authored
Allow setting mdc.*.max_mod_rpcs_in_flight > mdc.*.max_rpcs_in_flight by increasing the latter value, rather than returning an error and telling the user to do that. This matches the similar behavior if mdc.*.max_rpcs_in_flight is reduced lower than max_mod_rpcs_in_flight. If there are multiple MDTs, the "mdc.*.max_mod_rpcs_in_flight" param may be set from e.g. the MDT0000 config log before MDT0001 is fully configured, catching MDT0001 with ocd_maxmodrpcs = 0 before the OCD from the MDT has been filled in, and incorrectly trigger an error. If seen during setup, allow ocd_maxmodrpcs = (max_rpcs_in_flight - 1), since this will be fixed up later if mdc.*.max_rpcs_in_flight is set smaller in the config log (if set larger it doesn't matter). Test-Parameters: env=ONLY=90 testlist=conf-sanity This patch is back-ported from the following one: Lustre-commit: 6d314902 Lustre-change: https://review.whamcloud.com/38455 Signed-off-by:
Andreas Dilger <adilger@whamcloud.com> Signed-off-by:
Jian Yu <yujian@whamcloud.com> Change-Id: I4b20163e9e212db451738169ebdc361ab8c1c15e Reviewed-on: https://review.whamcloud.com/38893 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Nathaniel Clark authored
Use least qunit to set lower limit for inodes in sanity-quota/2 This ensures that the limit is set at or above the minimum size. Lustre-change: https://review.whamcloud.com/36797 Lustre-commit: 33e500cf Test-Parameters: trivial Test-Parameters: env=ONLY=2 testlist=sanity-quota Test-Parameters: env=ONLY=2 testlist=sanity-quota fstype=zfs Test-Parameters: env=ONLY=2,ONLY_REPEAT=20 fstype=zfs testlist=sanity-quota Test-Parameters: mdtcount=2 mdscount=4 env=ONLY=2,ONLY_REPEAT=20 fstype=zfs testlist=sanity-quota Signed-off-by:
Nathaniel Clark <nclark@whamcloud.com> Change-Id: I80e2c3cb66870d11f74f34c435e266a46630479b Reviewed-on: https://review.whamcloud.com/36797 Reviewed-by:
Jian Yu <yujian@whamcloud.com> Reviewed-by:
Olaf Faaland-LLNL <faaland1@llnl.gov> Reviewed-on: https://review.whamcloud.com/38769 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com>
-
Bobi Jam authored
The CIT_MISC is used for locks/pages manipulation, it will not go with full io procedure, i.e. cl_io_loop() will not be called for it. So don't check it for plain file since the mirror info is not initialized/set in this case. Lustre-change: https://review.whamcloud.com/38307 Lustre-commit: d0dd744e Signed-off-by:
Bobi Jam <bobijam@whamcloud.com> Change-Id: I723d18260629b8f7c470d350d6d899d3bb88018a Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Wang Shilong <wshilong@ddn.com> Signed-off-by:
Minh Diep <mdiep@whamcloud.com> Reviewed-on: https://review.whamcloud.com/38856 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Andreas Dilger authored
The sanity test_160f test was failing intermittently because the first Changelog user ("cl6") was being unregistered in some cases when it set changelog_max_idle_time=10, but the test slept for 9s and then did some operations that could be slow. In rare cases the test runs too long and the MDS evicts the "good" user along with the bad user: MDD0000: Force deregister of ChangeLog user cl7 idle more than 35s MDD0000: Force deregister of ChangeLog user cl6 idle more than 11s Change the test sleep interval to be half of the max_idle limit so that there is no risk of the "good" Changelog user being evicted. Add some logging to the test so that it is easier to correlate test script actions with events in the MDS debug log. Lustre-change: https://review.whamcloud.com/36468 Lustre-commit: 4b0f0164 Fixes: 31fef684 ("LU-10680 mdd: create gc thread when no current transaction") Test-Parameters: trivial envdefinitions=ONLY=160 testlist=sanity,sanity Test-Parameters: envdefinitions=ONLY=160 mdscount=2 testlist=sanity,sanity Signed-off-by:
Andreas Dilger <adilger@whamcloud.com> Change-Id: I0e4c9c271d98a2716f848e75676780b0383ebbe5 Reviewed-by:
Faccini Bruno <bruno.faccini@intel.com> Signed-off-by:
James Nunez <jnunez@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com> Reviewed-on: https://review.whamcloud.com/38833 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com>
-
Jian Yu authored
Update RHEL8.1 kernel to 4.18.0-147.8.1.el8_1 for Lustre client. Test-Parameters: trivial clientdistro=el8.1 Change-Id: I4c8d925f295927ed7b7fd8fd5d17754d720bfc4d Signed-off-by:
Jian Yu <yujian@whamcloud.com> Reviewed-on: https://review.whamcloud.com/38227 Reviewed-by:
Yang Sheng <ys@whamcloud.com> Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Minh Diep <mdiep@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Oleg Drokin authored
There's now a user in sanity test 103a that calls version_code with 2.6. Andreas rightfully points instead of fixing the caller we can just update the code to accept this usage. Lustre-change: https://review.whamcloud.com/36275 Lustre-commit: 6521dda6 Change-Id: I5915cd08a36946c6d26f2e231aa7a820a3eef46a Signed-off-by:
Oleg Drokin <green@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
James Nunez <jnunez@whamcloud.com> Reviewed-on: https://review.whamcloud.com/38715 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com>
-
Amir Shehata authored
When a tx completes kiblnd_tx_complete() callback is invoked. We ensure: LASSERT (tx->tx_sending > 0); However this assert is being triggered in some rare scenarios. The reason tx_sending would be 0 at this point is because: 1. ib_post_send() failed but OFED stack is still sending a tx complete event. 2. We're getting two different events for the same tx Instead of asserting, ignore that tx_complete event and print the tx pointer and its status. Lustre-change: https://review.whamcloud.com/38669 Lustre-commit: 60f9f539 Signed-off-by:
Amir Shehata <ashehata@whamcloud.com> Change-Id: I8cd192538c0c80abaef23a4b6e6906936043060b Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Serguei Smirnov <ssmirnov@whamcloud.com> Signed-off-by:
Minh Diep <mdiep@whamcloud.com> Reviewed-on: https://review.whamcloud.com/38752 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Andreas Dilger authored
Fix the default install path for bash-completion if the package is not installed at build time. This avoids BASH_COMPLETION_DIR being badly formatted in the lustre.spec file. Lustre-change: https://review.whamcloud.com/38548 Fixes: dfb4afc2 ("LU-13225 utils: bash completion for lfs and lctl") Test-Parameters: trivial Signed-off-by:
Andreas Dilger <adilger@whamcloud.com> Change-Id: Ie50071c4ff86f57bc9dd53409ae339da2a3ebbe5 Reviewed-on: https://review.whamcloud.com/38670 Tested-by:
Maloo <maloo@whamcloud.com> Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Jian Yu <yujian@whamcloud.com> Reviewed-by:
Ben Evans <beevans@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Andreas Dilger authored
Add a bash completion for "lfs" and improve completion for "lctl". Rename the "lctl" completion script to "lustre" since the two commands share helper routines for fsnames, pools, etc. and install "lfs" and "lctl" symlinks to the common command file. The completion prints available sub-commands and their options, and for some sub-commands it completes available arguments (e.g. mount points, pool names, and MDT/OST names). A couple of minor changes to "lfs" and "lctl" usage messages to make the sub-command options easier to parse. More needs to be done to make all sub-commands have proper long options. There is definitely more that could be added to the completions, but this is a good start and provides a framework for the future. Lustre-change: https://review.whamcloud.com/37483 Lustre-commit: dfb4afc2 Test-Parameters: trivial Signed-off-by:
Andreas Dilger <adilger@whamcloud.com> Change-Id: Ie989b2ef4c0d6d8565e5c6753205bb6ed83ebbe5 Reviewed-by:
Dominique Martinet <dominique.martinet@cea.fr> Reviewed-by:
Quentin Bouget <quentin.bouget@cea.fr> Reviewed-by:
Ben Evans <beevans@whamcloud.com> Reviewed-by:
Li Xi <lixi@ddn.com> Reviewed-on: https://review.whamcloud.com/38519 Reviewed-by:
Jian Yu <yujian@whamcloud.com> Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Jian Yu authored
Unloading libcfs module on RHEL 6.10 Lustre client with kernel 2.6.32-754.24.3 hit kernel panic issue. The issue doesn't exist in Lustre b2_10 where RHEL 6.10 is supported and debugfs_remove_recursive() is called directly from lnet_remove_debugfs(). This patch adds compat changes to lnet_remove_debugfs() to resolve the issue. Fixes: 9d42660e ("LU-11986 lnet: properly cleanup lnet debugfs files") Fixes: ae93a9f21752 ("LU-11986 libcfs: add compat for d_hash_and_lookup()") Test-Parameters: trivial Signed-off-by:
Jian Yu <yujian@whamcloud.com> Change-Id: Ib63a40afe8926f56cd1d2873975855c226098418 Reviewed-on: https://review.whamcloud.com/38716 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Alex Zhuravlev authored
and not at obd_cleanup(). otherwise a race is possible: umount <MDT> stopping OI vs MGS accessing same OSD which results in the assertion: ASSERTION( osd->od_oi_table != NULL && osd->od_oi_count >= 1 ) Lustre-change: https://review.whamcloud.com/37615 Lustre-commit: 2789978e Signed-off-by:
Alex Zhuravlev <bzzz@whamcloud.com> Change-Id: I24fccea718f2e2663166cfb0ff26571039357535 Reviewed-on: https://review.whamcloud.com/38153 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Jian Yu authored
This patch fixes yml_test_group() in yaml.sh to add test project name, which is required in results.yml for Maloo to parse. This patch is back-ported from the following one: Lustre-commit: 054bb028 Lustre-change: https://review.whamcloud.com/33658 Test-Parameters: trivial Change-Id: I0ae563d855dc2d28eaea85e86b1cb23d2428988b Signed-off-by:
Jian Yu <yujian@whamcloud.com> Reviewed-by:
Leonel Ochoa <lochoa@whamcloud.com> Reviewed-by:
James Nunez <jnunez@whamcloud.com> Reviewed-on: https://review.whamcloud.com/38684 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com>
-
Alex Zhuravlev authored
which is separate from imp_refcount as the latter can be used for other purposes and it's hard to use to track requests. to verify the theory that imp_refcount should be checked. Lustre-change: https://review.whamcloud.com/37722 Lustre-commit: b09afdf5 Change-Id: I7c273a73e2b1bb43059c7ed003ee2b7d09273bfe Signed-off-by:
Alex Zhuravlev <bzzz@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Mike Pershin <mpershin@whamcloud.com> Signed-off-by:
Minh Diep <mdiep@whamcloud.com> Reviewed-on: https://review.whamcloud.com/38340 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
- 30 Jun, 2020 1 commit
-
-
Oleg Drokin authored
If open|creat (and other intent operations later) returned a lookup bit as part of the lock, hash the resultant dentry under this lock, not to trigger further RPCs in subsequent lookups. Lustre-change: https://review.whamcloud.com/33584 Lustre-commit: fc42cbe0 Signed-off-by:
Lai Siyao <lai.siyao@whamcloud.com> Signed-off-by:
Oleg Drokin <green@whamcloud.com> Change-Id: Id5140d1042af7f5ab9052922e11a7eda8f92a29a Reviewed-on: https://review.whamcloud.com/38763 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com>
-
- 10 Jun, 2020 1 commit
-
-
Lai Siyao authored
Add function lod_striped_lookup() for lod_striped_index_ops.dio_lookup to allow name lookup under striped directory. Currently this is used by subdir mount, which needs to lookup FID of the subdir on server side. Function lfsck_namespace_repair_dirent() should call dt_lookup() with bottom object, because child may be shard. Add sanity 247f. Lustre-change: https://review.whamcloud.com/37903 Lustre-commit: 42b0304e Change-Id: Iba844d1a34a318bcbd42b00186ed6fa9d165effc Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Alex Zhuravlev <bzzz@whamcloud.com> Signed-off-by:
Minh Diep <mdiep@whamcloud.com> Signed-off-by:
Lai Siyao <lai.siyao@whamcloud.com> Reviewed-on: https://review.whamcloud.com/38691 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
- 08 Jun, 2020 1 commit
-
-
Oleg Drokin authored
Change-Id: I2bd2c42ba57730856fe454999f67b870b41330e8 Signed-off-by:
Oleg Drokin <green@whamcloud.com>
-
- 27 May, 2020 14 commits
-
-
Oleg Drokin authored
Change-Id: I2db2a133d8d8fc8479cc36e3714f4f62b2ea2dd5
-
Alexey Lyashkov authored
Journalled write want a special attention on blocks release, revoke records must added to avoid replace new write blocks with stale data. Mark inode as "journal write" to generate valid revoke records. Large EA inode updates affected with this bug also. large ea fix is Linux-commit: ddfa17e4adc4bd19c32216aaa6250dc38b0579df Author: Tahsin Erdogan <tahsin@google.com> Date: Wed Jun 21 21:36:51 2017 -0400 ext4: call journal revoke when freeing ea_inode blocks Lustre-change: https://review.whamcloud.com/38281 Lustre-commit: a23aac22 Change-Id: I605128c4ba70331a48715dc95546430909efb893 Signed-off-by:
Alexey Lyashkov <c17817@cray.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Alex Zhuravlev <bzzz@whamcloud.com> Reviewed-on: https://review.whamcloud.com/38705 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Andreas Dilger authored
The "size_units" variable was not being reset while parsing different "lfs setstripe" arguments, so e.g. "lfs setstripe -E 1M -S 65536 ..." ended up using the 'M' unit for the stripe size, which resulted in a stripe_size of 65536MiB = 64GiB, which resulted in an error. This only appeared with PFL or other layout patterns which had more than one unit being parsed, and was already fixed in master via SEL. Test-Parameters: trivial Signed-off-by:
Andreas Dilger <adilger@whamcloud.com> Change-Id: Ib3f9be86f5104aaea4f77d87853255a518cbc3a0 Reviewed-on: https://review.whamcloud.com/38680 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Jian Yu <yujian@whamcloud.com> Reviewed-by:
Emoly Liu <emoly@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Mikhail Pershin authored
While checking lmm_oi in composite layout the pointer to 'lmm' is re-assigned to component entry but the same pointer is used for LOV EA buffer to update EA. Therefore if lmm_oi was fixed in some component then just current entry is saved as new layout. Lustre-change: https://review.whamcloud.com/38584 Lustre-commit: be009cb4 Signed-off-by:
Mikhail Pershin <mpershin@whamcloud.com> Change-Id: Ifbd984a71b383ab4ca35ad59ed9cd8cf57b6d7cc Reviewed-on: https://review.whamcloud.com/38585 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Stephan Thiell <sthiell@stanford.edu>
-
Jian Yu authored
This patch makes changes to support new SLES12 SP5 release for Lustre client. Test-Parameters: trivial clientdistro=sles12sp5 \ env=SANITY_EXCEPT="56oc 817" testlist=sanity Change-Id: Ia4b856b03801e02da9a2e584efeb8759b4dd30c3 Signed-off-by:
Jian Yu <yujian@whamcloud.com> Reviewed-on: https://review.whamcloud.com/38640 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Yang Sheng <ys@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Jian Yu authored
Update RHEL7.8 kernel to 3.10.0-1127.8.2.el7. Test-Parameters: trivial clientdistro=el7.8 serverdistro=el7.8 Change-Id: If7ac6f4b5f1fe32a15c63f51589a2e320001b4a5 Signed-off-by:
Jian Yu <yujian@whamcloud.com> Reviewed-on: https://review.whamcloud.com/38635 Tested-by:
Maloo <maloo@whamcloud.com> Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com>
-
Jian Yu authored
This patch makes changes to support new RHEL 8.2 release for Lustre client. Test-Parameters: trivial clientdistro=el8.2 \ env=SANITY_EXCEPT="130" testlist=sanity Change-Id: Icb1db3afd2e94423a45354acfdd559f8f1e294cb Signed-off-by:
Jian Yu <yujian@whamcloud.com> Reviewed-on: https://review.whamcloud.com/38461 Reviewed-by:
Yang Sheng <ys@whamcloud.com> Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Shaun Tancheff authored
Kernel destroy CQ flows can't fail and the returned value of ib_destroy_cq() is not interested in those flows. kernel-commit: 890ac8d97e6722a9e4a66a0bd836d1b028d075fe This patch is back-ported from the following one: Lustre-commit: 7d2ea1e5 Lustre-change: https://review.whamcloud.com/36578 Test-Parameters: trivial Cray-bug-id: LUS-8042 Signed-off-by:
Shaun Tancheff <stancheff@cray.com> Change-Id: I873bf76a33bd80d5e6de4d1b16a79ff5ea930f3a Reviewed-on: https://review.whamcloud.com/38489 Reviewed-by:
Yang Sheng <ys@whamcloud.com> Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
James Simmons <jsimmons@infradead.org> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Shaun Tancheff authored
Linux 5.3 removed for_ifa and replaced it with an _rntl and _rcu versions for use with their respective locking primitives. kernel-commit: ef11db3310e272d3d8dbe8739e0770820dd20e52 This patch is back-ported from the following one: Lustre-commit: 6e0d0146 Lustre-change: https://review.whamcloud.com/35744 Test-Parameters: trivial Cray-bug-id: LUS-7689 Signed-off-by:
Shaun Tancheff <stancheff@cray.com> Change-Id: Iea07222b9abb3f9c219d28fe2c660d9eaf21af80 Reviewed-on: https://review.whamcloud.com/38487 Reviewed-by:
Petros Koutoupis <petros.koutoupis@hpe.com> Reviewed-by:
James Simmons <jsimmons@infradead.org> Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Shaun Tancheff authored
In kernel 4.20 SUNRPC cache_detail->hash_lock changed to spinlock_t Now that the reader functions are all RCU protected, use a regular spinlock rather than a reader/writer lock. Linux-commit: 1863d77f15da0addcd293a1719fa5d3ef8cde3ca This patch is back-ported from the following one: Lustre-commit: 77d53777 Lustre-change: https://review.whamcloud.com/35499 Test-Parameters: trivial Cray-bug-id: LUS-7600 Signed-off-by:
Shaun Tancheff <stancheff@cray.com> Change-Id: If0df38337d5a2bb0ac4b8cb645dbe89f65e0f352 Reviewed-on: https://review.whamcloud.com/38483 Reviewed-by:
Sebastien Buisson <sbuisson@ddn.com> Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
James Simmons <jsimmons@infradead.org> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Shaun Tancheff authored
In kernel 5.1 linux/selinux.h was removed with SELinux: Remove unused selinux_is_enabled Linux-commit: 3d252529480c68bfd6a6774652df7c8968b28e41 This patch is back-ported from the following one: Lustre-commit: 39e5bfa7 Lustre-change: https://review.whamcloud.com/35035 Test-Parameters: trivial Signed-off-by:
Shaun Tancheff <stancheff@cray.com> Change-Id: If963e6b22b7b07899de5b970f934bb157c5f7cec Reviewed-on: https://review.whamcloud.com/38480 Reviewed-by:
Petros Koutoupis <petros.koutoupis@hpe.com> Reviewed-by:
Sebastien Buisson <sbuisson@ddn.com> Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Shaun Tancheff authored
Kernel 4.20 introduced iov_iter_type and broke iov_for_each As iov_for_each is only used once so drop the macro entirely. When iov_iter_type is available ignore invalid iter types. Linux-commit: 8a363970d1dc38c4ec4ad575c862f776f468d057 Kernel 3.15 added type to iov_iter. Use the type to provide a sensible replacement for iov_iter_type when it is available. Linux-commit: 71d8e532b1549a478e6a6a8a44f309d050294d00 This patch is back-ported from the following one: Lustre-commit: d93aa017 Lustre-change: https://review.whamcloud.com/35024 Cray-bug-id: LUS-6962 Change-Id: I97cdce1c85803ac2d4436d4eedf67a545ea2cdb8 Signed-off-by:
Shaun Tancheff <stancheff@cray.com> Reviewed-on: https://review.whamcloud.com/38479 Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
James Simmons <jsimmons@infradead.org> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Shaun Tancheff authored
Linux 4.17 created the new vm_fault_t type Linux-commit: 1c8f422059ae5da07db7406ab916203f9417e396 Linux 5.1 changed the vm_fault_t type to bitwise unsigned int which changes the interfaces registered to struct vm_operations_struct Linux-commit: 3d3539018d2cbd12e5af4a132636ee7fd8d43ef0 Prefer to match the upstream API and fallback to 'int' where vm_fault_t is not available. This patch is back-ported from the following one: Lustre-commit: f2b224a4 Lustre-change: https://review.whamcloud.com/35500 Test-Parameters: trivial Cray-bug-id: LUS-7600 Signed-off-by:
Shaun Tancheff <stancheff@cray.com> Change-Id: I7122fb0d4af3ee9a19c1a5d0b77c4f13f6850181 Reviewed-on: https://review.whamcloud.com/38478 Reviewed-by:
Petros Koutoupis <petros.koutoupis@hpe.com> Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
James Simmons <jsimmons@infradead.org> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Andreas Dilger authored
Verify that a truncated trusted.lov xattr is handled properly, for both plain and PFL layouts. Add a test case that verifies this is fixed for both layout types. Lustre-change: https://review.whamcloud.com/38434 Lustre-commit: cb745463 Fixes: f2d06d3c ("LU-12911 llite: Don't access lov_md fields before size check") Signed-off-by:
Andreas Dilger <adilger@whamcloud.com> Change-Id: I11d420c7fdc2362f64689a545b95c76e893ebbe5 Reviewed-by:
Sebastien Buisson <sbuisson@ddn.com> Reviewed-by:
Emoly Liu <emoly@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com> Signed-off-by:
Minh Diep <mdiep@whamcloud.com> Reviewed-on: https://review.whamcloud.com/38604 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com>
-
- 23 May, 2020 1 commit
-
-
Oleg Drokin authored
Except for the case of direct-io and server-lock, we are hold potentially multiple locks that are next to impossible to find and cross reference. So instead just send it all right away - should only be a factor in rare cases of out of quota or close to out of space. Lustre-change: https://review.whamcloud.com/38453 Lustre-commit: 13b7cf4f Change-Id: I961cd9ba7f3266d22dfc5eff758c2f4ebbe148a4 Signed-off-by:
Oleg Drokin <green@whamcloud.com> Reviewed-on: https://review.whamcloud.com/38610 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com>
-