- 22 Oct, 2020 3 commits
-
-
Minh Diep authored
Adding Ubuntu libtool-bin requirement Lustre-change: https://review.whamcloud.com/36471 Lustre-commit: dbce727a ) Test-Parameters: trivial clientdistro=ubuntu1804 testlist=sanity-hsm Change-Id: I04cfffc880259e4cf1c2cba142eddd47a95a736e Signed-off-by:
Minh Diep <mdiep@whamcloud.com> Reviewed-by:
James Simmons <jsimmons@infradead.org> Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com> Reviewed-on: https://review.whamcloud.com/38822 Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
James Nunez <jnunez@whamcloud.com>
-
Andrew Perepechko authored
Due to a bug in the code, libcfs will crash if the number of online cpus does not divide by the number of cpu partitions. Based on the checks in cfs_cpt_table_create(), it appears that the original intent was to push the remaining cpus into the initial partitions. So let's do that properly. Lustre-commit: e33e3da5 Lustre-change: https://review.whamcloud.com/34991 Change-Id: I3c5e2aa1fdfca4c07e7afce143c984973373f009 Cray-bug-id: LUS-6455 Signed-off-by:
Andrew Perepechko <c17827@cray.com> Reviewed-by:
Alexander Boyko <c17825@cray.com> Reviewed-by:
Alexander Zarochentsev <c17826@cray.com> Reviewed-by:
Gu Zheng <gzheng@ddn.com> Reviewed-by:
Alexandr Boyko <c17825@cray.com> Reviewed-on: https://review.whamcloud.com/37994 Reviewed-by:
Serguei Smirnov <ssmirnov@whamcloud.com> Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
James Nunez authored
In the setmodopts() function in functions.sh, the '_var' variable is set and used. There is one use of the variable 'var' which should be '_var'. Change the use of 'var' to '_var'. Reviewed-on: https://review.whamcloud.com/39891 (cherry picked from commit ff29ed8f ) Test-Parameters: trivial Test-Parameters: testlist=conf-sanity env=ONLY=53 clientdistro=ubuntu1804 fstype=ldiskfs Test-Parameters: testlist=conf-sanity env=ONLY=53 clientdistro=el7.8 fstype=ldiskfs Signed-off-by:
James Nunez <jnunez@whamcloud.com> Change-Id: If524be1f0b4b2170a514a558256a5308c9a5e586 Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
John L. Hammond <jhammond@whamcloud.com> Reviewed-by:
Vikentsi Lapa <vlapa@whamcloud.com> Reviewed-on: https://review.whamcloud.com/39985 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com>
-
- 19 Oct, 2020 1 commit
-
-
Jian Yu authored
This patch makes changes to support new RHEL 7.9 release for Lustre client. Test-Parameters: trivial clientdistro=el7.9 Change-Id: I7a2846de48a6710d6d720d6ccc3176dba4afc6bb Signed-off-by:
Jian Yu <yujian@whamcloud.com> Reviewed-on: https://review.whamcloud.com/40177 Reviewed-by:
Yang Sheng <ys@whamcloud.com> Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com>
-
- 06 Oct, 2020 2 commits
-
-
Mr NeilBrown authored
This arg is always '0', so remove it. Consequently, OBD_BRW_NOCACHE is never set, and cl_dirty_transit and obd_dirty_transit_pages are never non-zero, so they can be removed as well. Lustre-change: https://review.whamcloud.com/36319 Lustre-commit: 524deb6f Patch also includes changes for atomic ops optimization to keep in sync with master branch: Lustre-change: https://review.whamcloud.com/33859 Lustre-commit: 8b364fbd Signed-off-by:
Mikhail Pershin <mpershin@whamcloud.com> Change-Id: Ia047affc33fb9277e6c28a8f6d7d088c385b51a8 Reviewed-on: https://review.whamcloud.com/39518 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Olaf Faaland-LLNL <faaland1@llnl.gov> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Hongchao Zhang authored
Abort the reading update LLOG fromt other MDTs when the recovery is aborted, then the recovery process can be aborted in time. This patch also adds watchdog for the process of the replay request to detect possible stale process. Lustre-change: https://review.whamcloud.com/38746 Lustre-commit: 0496cdf2 Change-Id: Ie2de041360c9eba95ef9bfd14b00ac2709e6eace Signed-off-by:
Hongchao Zhang <hongchao@whamcloud.com> Reviewed-on: https://review.whamcloud.com/38746 Reviewed-by:
Lai Siyao <lai.siyao@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-on: https://review.whamcloud.com/39284 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
- 19 Sep, 2020 8 commits
-
-
Lai Siyao authored
Pack parent FID in getattr request if OBD_CONNECT2_GETATTR_PFID is enabled, otherwise fill it with target FID for backward compatibility. Lustre-change: https://review.whamcloud.com/39290 Lustre-commit: 5f2c44bf Fixes: f9a2da63 ("LU-13437 mdt: don't fetch LOOKUP lock for remot...") Signed-off-by:
Lai Siyao <lai.siyao@whamcloud.com> Reviewed-by:
Neil Brown <neilb@suse.de> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com> Change-Id: I91bace23e67b548feb92fd885fb5e64e92c96408 Reviewed-on: https://review.whamcloud.com/39771 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com>
-
Lai Siyao authored
Add OBD_CONNECT2_GETATTR_PFID connect flag to pack parent FID in getattr request, which will be used to check whether target is remote object, if so, don't take LOOKUP lock, otherwise client may see stale directory entries. Lustre-change: https://review.whamcloud.com/39289 Lustre-commit: f384a873 Test-parameters: trivial Signed-off-by:
Lai Siyao <lai.siyao@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Neil Brown <neilb@suse.de> Reviewed-by:
Oleg Drokin <green@whamcloud.com> Change-Id: Ibdf880934456f255f83cd4bac9d61ab5e1ed7330 Reviewed-on: https://review.whamcloud.com/39770 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com>
-
Lai Siyao authored
In rename, all objects but target may be remote, so to check whether source is remote object on source parent, we need to compare which MDTs they are located if both are remote. Add a helper function mdt_rename_source_lock() to handle all possible combinations. If target parent is remote, take remote LOOKUP for target on where target parent is. Add sanityn.sh 81c. Lustre-change: https://review.whamcloud.com/38181 Lustre-commit: 4918fe40 Signed-off-by:
Lai Siyao <lai.siyao@whamcloud.com> Change-Id: I2c134970d6abc8761528d01950b23495292cdf93 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/39601 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Lai Siyao authored
Pack parent FID in getattr by FID, which will be used to check whether child is remote object on parent. The helper function is called mdt_is_remote_object(). NB, directory shard is not treated as remote object, because if so, client needs to revalidate shards when dir is accessed, which will hurt performance much. For getattr by FID, if object is remote file on parent, don't fetch LOOKUP lock, otherwise client may see stale dir entries. Lustre-change: https://review.whamcloud.com/38561 Lustre-commit: f9a2da63 Signed-off-by:
Lai Siyao <lai.siyao@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Yingjin Qian <qian@ddn.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com> Change-Id: I37b36983735eca63da37f190456b5cc1b861b29e Reviewed-on: https://review.whamcloud.com/39769 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com>
-
Lai Siyao authored
Striped directory layout may be broken, if some stripe FID is insane, return -ENODEV. Lustre-change: https://review.whamcloud.com/38560 Lustre-commit: 698a496a Signed-off-by:
Lai Siyao <lai.siyao@whamcloud.com> Change-Id: I7ed8c7c561e34625e2cb29bfd14bc0ecf3fce46c Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Hongchao Zhang <hongchao@whamcloud.com> Signed-off-by:
Minh Diep <mdiep@whamcloud.com> Reviewed-on: https://review.whamcloud.com/39600 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Amir Shehata authored
When discovering a remote peer (not on the same network) a GET is sent to the peer to retrieve the peer's interfaces. This is followed by a PUSH, if discovery is on, to push the node's interfaces However, if both node and peer have multiple interfaces it is likely that the GET and the PUSH will originate on different interfaces. When the peer receives the PUSH it will not be able to connect the two NIDs and will not be able to consolidate the node's NIDs. This issue is specific for remote peers because at the time the push handler is invoked the remote lpni has not been created yet. lnet_parse() creates the lpni of the gateway. Similar to the strategy already in place of using the same source NID for all the messages of an RPC, discovery should use the same source NID for both the GET and PUSH. This patch stores the source NID interfaces the GET was sent on and uses it for the PUSH. Signed-off-by:
Amir Shehata <ashehata@whamcloud.com> Change-Id: I5a13ab7799b2ddc47714202bcbed786b0d3940b7 Reviewed-on: https://review.whamcloud.com/38320 Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Chris Horn <chris.horn@hpe.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Serguei Smirnov <ssmirnov@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com> Reviewed-on: https://review.whamcloud.com/39576
-
Andreas Dilger authored
If doing a client-only build, do not set the FS_REQUIRES_DEV flag for the 'lustre' filesystem type. This is only needed on the server, but the filesystem type declaration is shared between both. In master, this was fixed by declaring a new 'lustre_tgt' filesystem type and using that for server filesystem mounts. However, for 2.12 this is overkill, and it is possible to get a 95% fix by dropping the FS_REQUIRES_DEV flag for the common case of client-only builds. Test-Parameters: trivial Signed-off-by:
Andreas Dilger <adilger@dilger.ca> Change-Id: Iab2e78515aba018e2a6bceb324ad1b8a313ebbe5 Reviewed-on: https://review.whamcloud.com/39674 Reviewed-by:
Jian Yu <yujian@whamcloud.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>
-
Li Dongyang authored
Add ext4-no-max-dir-size-limit-for-iam-objects.patch to introduce new inode state EXT4_STATE_IAM and use it to mark IAM objects. Lustre-change: https://review.whamcloud.com/39823 Lustre-commit: 03e6db50 Change-Id: I3bcc5435ea07edb9fa265dcd8e3261d849495f00 Signed-off-by:
Li Dongyang <dongyangli@ddn.com> Reviewed-by:
Neil Brown <neilb@suse.de> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
James Simmons <jsimmons@infradead.org> Reviewed-on: https://review.whamcloud.com/39882 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
- 15 Sep, 2020 3 commits
-
-
Mikhail Pershin authored
Add check in the osc_init_grant() to prevent possible underflow of cl_avail_grant and report error if it happens Lustre-change: https://review.whamcloud.com/#/c/39827 Lustre-commit: e05ccafd Signed-off-by:
Mikhail Pershin <mpershin@whamcloud.com> Change-Id: Idcd25ed427c23735e1cdc70359bace43b5b9d886 Reviewed-on: https://review.whamcloud.com/39380 Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Vladimir Saveliev authored
New IO engine implementation lost consuming grants by direct I/O writes. That led to early emergence of out of space condition during direct I/O. The below illustrates the problem: # OSTSIZE=100000 sh llmount.sh # dd if=/dev/zero of=/mnt/lustre/file bs=4k count=100 oflag=direct dd: error writing ‘/mnt/lustre/file’: No space left on device Consume grants for direct I/O. Try to consume grants in osc_queue_sync_pages() when it is called for pages which are being writted in direct i/o. Tests are added to verify grant consumption in buffered and direct i/o and to verify direct i/o overwrite when ost is full. The overwrite test is for ldiskfs only as zfs is unable to overwrite when it is full. Lustre-change: https://review.whamcloud.com/35896 Lustre-commit: 05f326a7 Fixes: 9fe4b52a ("LU-1030 osc: new IO engine implementation") Signed-off-by:
Vladimir Saveliev <c17830@cray.com> Change-Id: I9a199452c564e8e8ad02f79231e8481166f3666e Cray-bug-id: LUS-7036 Reviewed-on: https://review.whamcloud.com/39386 Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Sergey Gorenko authored
A new argument was added to rdma_reject() in MOFED 5.1 and Linux 5.8. Add a cofigure check and support both versions of rdma_reject(). Lustre-commit: 956deb0f Lustre-change: https://review.whamcloud.com/39323 Test-Parameters: trivial Signed-off-by:
Sergey Gorenko <sergeygo@mellanox.com> Change-Id: I2b28991f335658b651b21a09899b7b17ab2a9d57 Reviewed-on: https://review.whamcloud.com/39781 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>
-
- 01 Sep, 2020 6 commits
-
-
Shaun Tancheff authored
Without the hint from selinux_is_enabled() to determine if selinux is running at boot the performance fix from LU-549 to skip handling of selinux xattrs cannot be correctly handled. The correct path is to act is if selinux is enabled. This fixes a bug introduced by LU-12355 that now exists in RHEL 8.2 kernels where clients have enabled selinux. Lustre-change: https://review.whamcloud.com/39569 Lustre-commit: 994287bd Fixes: 39e5bfa7 ("LU-12355 llite: include file linux/selinux.h removed") Test-Parameters: clientdistro=el8.2 serverdistro=el8.2 clientselinux testlist=sanity-selinux Test-Parameters: clientdistro=el8.1 serverdistro=el8.1 clientselinux testlist=sanity-selinux Signed-off-by:
Shaun Tancheff <shaun.tancheff@hpe.com> Change-Id: I6fb5ed9ecdb79545225b5586b90509eb157a355b Reviewed-by:
Sebastien Buisson <sbuisson@ddn.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com> Signed-off-by:
Minh Diep <mdiep@whamcloud.com> Reviewed-on: https://review.whamcloud.com/39671 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com>
-
Sebastien Buisson authored
Use 'stat' command instead of 'ls -lZ' to retrieve SELinux security context, to make it more portable. Lustre-change: https://review.whamcloud.com/38648 Lustre-commit: ca09fda1 Test-Parameters: trivial clientselinux testlist=sanity-selinux mdtcount=2 clientcount=2 Signed-off-by:
Sebastien Buisson <sbuisson@ddn.com> Change-Id: I61bc0efb1e8ae0427d05827e2933eb0b848fb442 Reviewed-on: https://review.whamcloud.com/39713 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>
-
Chris Horn authored
Reconcile the logic for updating the multi-rail flag of a peer when processing a discovery PUSH with the logic used when processing a discovery REPLY. Cray-bug-id: LUS-8516 Signed-off-by:
Chris Horn <hornc@cray.com> Change-Id: Idfb4c3729822d03b71f9440ac66176ae6b886022 Reviewed-on: https://review.whamcloud.com/37674 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Shaun Tancheff <shaun.tancheff@hpe.com> Reviewed-by:
Serguei Smirnov <ssmirnov@whamcloud.com> Reviewed-by:
Stephen Champion <stephen.champion@hpe.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com> Reviewed-on: https://review.whamcloud.com/39575 Reviewed-by:
Chris Horn <chris.horn@hpe.com>
-
Minh Diep authored
Installing libsnmp-dev will pull in the correct libsnmpXX. By depending on the libsnmp-dev we can install on ubuntu 20.04 which is libsnmp35 Lustre-change: https://review.whamcloud.com/39506 Lustre-commit: af2f7763 Change-Id: Ib921ac35e06149ba88fa8e39b9a0980deb94acf2 Signed-off-by:
Minh Diep <mdiep@whamcloud.com> Reviewed-by:
James Simmons <jsimmons@infradead.org> Reviewed-by:
Shaun Tancheff <shaun.tancheff@hpe.com> Reviewed-by:
Sebastien Buisson <sbuisson@ddn.com> Signed-off-by:
Minh Diep <mdiep@whamcloud.com> Reviewed-on: https://review.whamcloud.com/39679 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Mikhail Pershin authored
The mti_big_lmm buffer can be used just as temporary buffer in some cases. It should drop mti_big_lmm_used flag after that to avoid assertion in mdt_big_attr_get(). This fix is extracted from bigger patch of LU-11025 in master branch. Lustre-change: https://review.whamcloud.com/37284 Lustre-commit: a336d7c7 Signed-off-by:
Mikhail Pershin <mpershin@whamcloud.com> Change-Id: I3718d6c413ef1d5f8242e548868602ef6476006e Reviewed-on: https://review.whamcloud.com/39521 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Stephane Thiell <sthiell@stanford.edu> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Lai Siyao <lai.siyao@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Olaf Weber authored
When the lnet_net_lock is unlocked, the peer attached to an lnet_peer_ni (found via lnet_peer_ni::lpni_peer_net->lpn_peer) can change, and the old peer deallocated. If we are really unlucky, then all the churn could give us a new, different, peer at the same address in memory. Change the reference counting on the lnet_peer lp so that it is guaranteed to be alive when we relock the lnet_net_lock for the cpt. When the reference count is dropped lp may go away if it was unlinked, but the new peer is guaranteed to have a different address, so we can still correctly determine whether the peer changed and discovery should be redone. LU-9971 lnet: fix peer ref counting Exit from the loop after peer ref count has been incremented to avoid wrong ref count. The code makes sure that a peer is queued for discovery at most once if discovery is disabled. This is done to use discovery as a standard ping for gateways which do not have discovery feature or discovery is disabled. Signed-off-by:
Olaf Weber <olaf.weber@hpe.com> Change-Id: Ia44dce20074b27ec0e77d7c1908c6a44ec73d326 Reviewed-on: https://review.whamcloud.com/28944 Reviewed-by:
Amir Shehata <ashehata@whamcloud.com> Tested-by: Jenkins Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
James Simmons <uja.ornl@yahoo.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com> Reviewed-on: https://review.whamcloud.com/38891 Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Chris Horn <chris.horn@hpe.com> Reviewed-by:
James Simmons <jsimmons@infradead.org>
-
- 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 3 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>
-