- 14 Aug, 2020 1 commit
-
-
Emoly Liu authored
"lctl --device xxx llog_catlist" should list all the config log on MGS and catalog on MDT correctly without any buffer size limit. If data can't be fetched in one time, data->ioc_count is used to save the number of all the fetched logs and then continue. conf-sanity.sh test_123af is added to verify this patch. And the minor style issue in LU-13757 is fixed as well. Lustre-change: https://review.whamcloud.com/38917 Lustre-commit: 1d97a8b4 Signed-off-by:
Emoly Liu <emoly@whamcloud.com> Change-Id: I364d563446833751b1f017fa2bef0351dab56235 Reviewed-on: https://review.whamcloud.com/39330 Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Ben Evans <beevans@whamcloud.com> Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
- 07 Aug, 2020 13 commits
-
-
Hongchao Zhang authored
In ptlrpc_pinger_main, if the process to ping the recoverable clients or obd_update_maxusage takes too long time, it could be stuck in endless loop because of the negative value returned by pinger_check_timeout. Lustre-change: https://review.whamcloud.com/38915 Lustre-commit: 6be2dbb2 Change-Id: Ib7fc22b3cc31255223bc2be60224ced1a3585f87 Signed-off-by:
Hongchao Zhang <hongchao@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Olaf Faaland-LLNL <faaland1@llnl.gov> Reviewed-by:
Oleg Drokin <green@whamcloud.com> Signed-off-by:
Minh Diep <mdiep@whamcloud.com> Reviewed-on: https://review.whamcloud.com/39344 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com>
-
Chris Horn authored
There's a couple places where we check whether a NID is the lolnd NID but we really want to know whether the NID is local. Use LNetIsPeerLocal() to accomplish this. Lustre-change: https://review.whamcloud.com/38388 Lustre-commit: 95bcc246 Signed-off-by:
Chris Horn <hornc@cray.com> Change-Id: Ia17b9b4b54fd1063c42a6f8bdd0e593be1086683 Reviewed-on: https://review.whamcloud.com/38865 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Serguei Smirnov <ssmirnov@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Chris Horn authored
We want Lustre traffic that is intended for the local peer to be sent and received over the lolnd. The function ptlrpc_uuid_to_peer() will currently resolve a NID to the lolnd NID, but ptlrpc_connection_get() will overwrite this selection with the result from LNetPrimaryNID(). Have LNetPrimaryNID return the lolnd NID when it is passed the lolnd NID. Lustre-change: https://review.whamcloud.com/38313 Lustre-commit: 33d2e44e HPE-bug-id: LUS-8457 Signed-off-by:
Chris Horn <hornc@cray.com> Change-Id: I02708bb45f8440091782ca7886bac7656efb0223 Reviewed-on: https://review.whamcloud.com/38864 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Serguei Smirnov <ssmirnov@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com>
-
Chris Horn authored
This patch adds a new constant, LNET_NID_LO_0, to represent the lolnd NID 0@lo. Lustre-change: https://review.whamcloud.com/38312 Lustre-commit: 56203e4b HPE-bug-id: LUS-8457 Signed-off-by:
Chris Horn <hornc@cray.com> Change-Id: I3e57637f297b8de306905a447af8f025e31d1fcf Reviewed-on: https://review.whamcloud.com/38863 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Serguei Smirnov <ssmirnov@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com>
-
Hongchao Zhang authored
When setting the quota limits as 0 by "lfs setquota", the default flag won't be cleared if the lquota_entry is just created for some quota ID at the first time because the quota limits are the same. This patch is back-ported from the following one: Lustre-commit: ce86e23b Lustre-change: https://review.whamcloud.com/36236 Change-Id: I7f44ce0cb13783ca5bede2f55cd0707f1ccbc8ca Signed-off-by:
Hongchao Zhang <hongchao@whamcloud.com> Reviewed-on: https://review.whamcloud.com/38808 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Wang Shilong <wshilong@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Jian Yu authored
Update SLES12 SP4 kernel to 4.12.14-95.54.1 for Lustre client. Test-Parameters: trivial clientdistro=sles12sp4 \ envdefinitions=LNET_SELFTEST_EXCEPT=smoke,SANITY_EXCEPT="103a 817" Change-Id: If7b9143bec6d9c526bd65e96a771c83f2530e608 Signed-off-by:
Jian Yu <yujian@whamcloud.com> Reviewed-on: https://review.whamcloud.com/39239 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>
-
Mikhail Pershin authored
The mdt_reint_migrate() controls amount of local locks taken and prevent the saving too many locks in reply_state by doing local sync instead. Meanwhile there is flaw in logic of doing that so they are saved always causing assertion in ptlrpc_save_lock(). Patch adds 'do_sync' local parameter into consideration while deciding to save local lock or not. Signed-off-by:
Mikhail Pershin <mpershin@whamcloud.com> Change-Id: I98cca84825ce5789094fbceb5d1f7975410d134b Reviewed-on: https://review.whamcloud.com/39191 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Stephane Thiell <sthiell@stanford.edu> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
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 7 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>
-