- 07 Dec, 2020 3 commits
-
-
Oleg Drokin authored
Change-Id: Ida99071d8c4ece77fafea34d7f74a9aeb351b55d Signed-off-by:
Oleg Drokin <green@whamcloud.com>
-
Lai Siyao authored
mdt_is_remote_object() will check whether child is directory shard if parent and child are on different MDTs, which needs to read LMV from disk, and hurt striped directory stat performance. This can be optimized, client can just set CROSS_REF flag to do a cross reference getattr, which avoids lots of checks. Lustre-change: https://review.whamcloud.com/40863/ Signed-off-by:
Lai Siyao <lai.siyao@whamcloud.com> Change-Id: Ib2d5a510b27c90a26f979f9cccfd40948e32d91a Signed-off-by:
Minh Diep <mdiep@whamcloud.com> Reviewed-on: https://review.whamcloud.com/40875 Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Yingjin Qian <qian@ddn.com>
-
Alex Zhuravlev authored
instead dump all info (FID->ino, LMAs) and return an error Signed-off-by:
Alex Zhuravlev <bzzz@whamcloud.com> Change-Id: I2774f945464748e0c03505c092ceb8520a613c53 Reviewed-on: https://review.whamcloud.com/40744 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com>
-
- 20 Nov, 2020 1 commit
-
-
Yang Sheng authored
Need replace_nid for test_32a. Else the mdc cannot be initialzed and prevent client mounting hung. Test-Parameters: trivial Test-Parameters: env=ONLY=32a,ONLY_REPEAT=20 fstype=ldiskfs testlist=conf-sanity Signed-off-by:
Yang Sheng <ys@whamcloud.com> Change-Id: I651f5728ad4ff96a309ed599490c9dd6ed9c5274 Reviewed-on: https://review.whamcloud.com/40537 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>
-
- 13 Nov, 2020 3 commits
-
-
Oleg Drokin authored
Change-Id: Ie881983730549b47c21668caf43f478fc92667a7 Signed-off-by:
Oleg Drokin <green@whamcloud.com>
-
Jian Yu authored
This patch makes changes to support new RHEL 8.3 release for Lustre client. Test-Parameters: trivial clientdistro=el8.3 Change-Id: I06a46735b42ac258e576b1dd5c0beb17f4fd3e47 Signed-off-by:
Jian Yu <yujian@whamcloud.com> Reviewed-on: https://review.whamcloud.com/40558 Reviewed-by:
Minh Diep <mdiep@whamcloud.com> 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
krb5 releases 1.18 and later completely remove support for all DES3 enctypes (des3-cbc-raw, des3-hmac-sha1, des3-cbc-sha1-kd). This patch adds HAVE_DES3_SUPPORT to check if DES3 enctype is supported. Change-Id: Ibb51ec7961e8c775ea92dec6119f4de01e2d9b1d Signed-off-by:
Jian Yu <yujian@whamcloud.com> Reviewed-on: https://review.whamcloud.com/40560 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Sebastien Buisson <sbuisson@ddn.com>
-
- 07 Nov, 2020 8 commits
-
-
Wang Shilong authored
When upgrading filesystem, it is possible that inode it not big enough to hold project id field, and in that case set project ID will return EOVERFLOW error. Since ldiskfs have the logic to expand inode size automatically, we could add similar logic for project quota. Considering this as an rare case, we just call ldiskfs_mark_inode_dirty() which will try to expand instead of exporting more functions. Lustre-change: https://review.whamcloud.com/38505 Lustre-commit: 57108489 Change-Id: I941f33ce8f45d2015acc0a33c5b54cf3a771a452 Signed-off-by:
Wang Shilong <wshilong@ddn.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Yang Sheng <ys@whamcloud.com> Signed-off-by:
Minh Diep <mdiep@whamcloud.com> Reviewed-on: https://review.whamcloud.com/40404 Reviewed-by:
Wang Shilong <wshilong@whamcloud.com> Reviewed-by:
Stephane Thiell <sthiell@stanford.edu> Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Lee Ochoa authored
Updated output of release() function to standarize node.yml file os_distribution parameter. Changes as follows: RHEL - use redhat-release first and os-release as backup as the latter may not include the full version (major/minor) CENTOS - use centos-release first and os-release as backup, same as RHEL SUSE - use os-release instead of suse-release as the latter is deprecated UBUNTU - use os-release Removed parsing system-release and *-release as neither option correctly outputs desired info Removed "lustre_" references in node.yml file attributes, the default in Maloo is to look for non-lustre prefixes first. Lustre-commit: f90199b1 Lustre-change: https://review.whamcloud.com/39952 Change-Id: Ia011f944aae53f31fcd3a539e846ea5aba7ec7c4 Signed-off-by:
Lee Ochoa <lochoa@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
James Nunez <jnunez@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com> Reviewed-on: https://review.whamcloud.com/40402 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Andreas Dilger <adilger@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com>
-
Andreas Dilger authored
Don't return -ENOENT if fetching the default layout from the root directory fails. Otherwise, "lfs find" will print an error message for every directory scanned in the filesystem: lfs find: /myth/tmp does not exist: No such file or directory Lustre-change: https://review.whamcloud.com/39200 Lustre-commit: 7fb17eb7 Fixes: 3e8fa8a7 ("LU-11656 llite: fetch default layout for a directory") Signed-off-by:
Andreas Dilger <adilger@whamcloud.com> Change-Id: I5e082c5d425c44ca7770d3b24cbb13bb7d2540e5 Reviewed-by:
Jian Yu <yujian@whamcloud.com> Reviewed-by:
Lai Siyao <lai.siyao@whamcloud.com> Reviewed-by:
James Simmons <jsimmons@infradead.org> Reviewed-by:
Oleg Drokin <green@whamcloud.com> Reviewed-on: https://review.whamcloud.com/40499 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com>
-
Wei Liu authored
Create a new POSIX test suite based on pjdfstest. This is a back port from Lustre-change: https://review.whamcloud.com/35841 Lustre-commit: 414e613c Test-Parameters: trivial Test-Parameters: fstype=ldiskfs testlist=pjdfstest Test-Parameters: fstype=zfs testlist=pjdfstest Change-Id: Iec37e2248ce5ccf89319aaffb3ead9b407ad1931 Signed-off-by:
Wei Liu <sarah@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
James Nunez <jnunez@whamcloud.com> Reviewed-on: https://review.whamcloud.com/38653 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Jian Yu authored
This patch adds autogen.sh and config/lustre-version.m4 into Lustre distribution tarball so that customers can regenerate aclocal.m4, config.h.in, autoMakefile.in and configure in their build environments. Change-Id: Ic6c5430b9a8b504ebc6a7618e141f1ea23b046a2 Signed-off-by:
Jian Yu <yujian@whamcloud.com> Reviewed-on: https://review.whamcloud.com/40466 Reviewed-by:
Minh Diep <mdiep@whamcloud.com> Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Shuichi Ihara <sihara@ddn.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
James Nunez authored
conf-sanity test 32a is hanging at a high rate. We need to explore if the issue involves old images are having problems upgrading to the latest version of Lustre. Test-Parameters: trivial Test-Parameters: env=ONLY=32a,ONLY_REPEAT=20 fstype=ldiskfs testlist=conf-sanity Test-Parameters: env=ONLY=32 fstype=zfs testlist=conf-sanity Signed-off-by:
James Nunez <jnunez@whamcloud.com> Change-Id: I0ff1e9e1304192b1008551b82133d95a0010c86a Reviewed-on: https://review.whamcloud.com/39109 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
James Simmons <jsimmons@infradead.org> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-on: https://review.whamcloud.com/40492 Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Lai Siyao authored
Now parent FID is packed in getattr_by_FID request (see https://review.whamcloud.com/39290), it should also pass in name from llite, so that lmv can replace fid1 with stripe FID, otherwise MDS may treat sub files under striped directory as remote object. Note, the name is not packed in request, because if it's packed, MDS will getattr by name instead of FID. Lustre-change: https://review.whamcloud.com/40219 Lustre-commit: 90ebab58 Fixes: 5f2c44bf ("LU-13437 llite: pack parent FID in getattr") Signed-off-by:
Lai Siyao <lai.siyao@whamcloud.com> Change-Id: If8215667bcb10ea3c4c5cd2c9034d81fd1cda3b5 Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Mike Pershin <mpershin@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com> Reviewed-on: https://review.whamcloud.com/40482 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com>
-
Lai Siyao authored
For historical reason, IT_GETATTR lock revalidate matches LOOKUP|UPDATE|PERM lock bits because for MDS < 2.4, permission is protected by LOOKUP lock, but this will cause remote object not able to match the cached lock because LOOKUP and UPDATE lock are fetched separately. Add sanity 803b, and rename 803 to 803a. Lustre-change: https://review.whamcloud.com/40218 Lustre-commit: 72a1ca99 Signed-off-by:
Lai Siyao <lai.siyao@whamcloud.com> Change-Id: I3ac38fe34472736849307bb7f1eebb5de9343a5c 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/40451 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
- 03 Nov, 2020 7 commits
-
-
Oleg Drokin authored
When we are trying to grant a lock and met an AST error, rerunning the policy is pointless since it cannot grant a potentially now eligible lock and our lock is already in all the queues, just be like all the other handlers for ERESTART return and run a full resource reprocess instead. Lustre-change: https://review.whamcloud.com/#/c/39598/ Lustre-commit: 24e3b539 Change-Id: I3edb37bf084b2e26ba03cf2079d3358779c84b6e Signed-off-by:
Oleg Drokin <green@whamcloud.com> Reviewed-on: https://review.whamcloud.com/40412 Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com>
-
Patrick Farrell authored
The search_itree and search_queue functions should both return either a pointer to a found lock or NULL. Currently, search_itree just returns the contents of data->lmd_lock, whether or not a lock was found. search_queue will do the same under certain cirumstances. Zero lmd_lock in both search_* functions, and also stop searching in search_itree once a lock is found. cray-bug-id: LUS-6783 Signed-off-by:
Patrick Farrell <paf@cray.com> Change-Id: Ie231166756e60c228370f8f1a019ccfe14dfda6a Reviewed-on: https://review.whamcloud.com/33754 Tested-by: Jenkins Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> 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/40399 Tested-by:
jenkins <devops@whamcloud.com>
-
Mikhail Pershin authored
The check in ll_dom_finish_open() for data end shouldn't use i_size for comparision because it may be not updated yet with just returned data from server. Use size value in mdt_body from reply for that check. Lustre-change: https://review.whamcloud.com/33895 Lustre-commit: 7b9fd576 Signed-off-by:
Mikhail Pershin <mpershin@whamcloud.com> Change-Id: I1104fbbb0eb4633869b9bf2d1803ac3e84e3853d Reviewed-on: https://review.whamcloud.com/40301 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>
-
Vladimir Saveliev authored
ll_dom_lock_cancel() should zero kms attribute similar to mdc_ldlm_blocking_ast0(). In order to avoid code duplication between mdc_ldlm_blocking_ast0() and ll_dom_lock_cancel() - add new cl_object_operations method - coo_object_flush() to reach mdc's blocking ast from llite level. Tests illustrating the issue are added. Lustre-change: https://review.whamcloud.com/34858 Lustre-commit: 707bab62 LU-12704 lov: check all entries in lov_flush_composite Check all layout entries for DOM layout and exit with -ENODATA if no one exists. Caller consider that as valid case due to layout change. Define llo_flush methods for all layouts as required by lov_dispatch(). Patch cleans up also cl_dom_size field in cl_layout which was used in previous ll_dom_lock_cancel() implementation Run lov_flush_composite under down_read lov->lo_type_guard to avoid race with layout change. Lustre-change: https://review.whamcloud.com/36368 Lustre-commit: 44460570 Signed-off-by:
Mikhail Pershin <mpershin@whamcloud.com> Change-Id: I2b100ead6d420dbf561bc61be973d64dad317214 Reviewed-on: https://review.whamcloud.com/40296 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>
-
Oleg Drokin authored
in ldlm_handle_cp_callback the while loop is clearly supposed to be limited by the "to" value of 1 second, but is not. Seems to have been broken by all the Solaris porting in HEAD all the way back in 2008. Restore the to assignment to make it not hang indefinitely. Lustre-change: https://review.whamcloud.com/#/c/40375/ Lusre-commit: 5da99051 Change-Id: I449bfd7f585ab7db475fb3fd4cbbd876126ff789 Fixes: adde80ff ("Land b_head_libcfs onto HEAD") Signed-off-by:
Oleg Drokin <green@whamcloud.com> Reviewed-on: https://review.whamcloud.com/40411 Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com>
-
Hongchao Zhang authored
In lov_cleanup, the check of each OSC is protected by lov_tgt_getrefs, which will increment the "lov_refcount", so the "lov_refcount" shouldn't be checked inside because it is always larger than 0. Change-Id: I21423d4345190b3e02eb00734c127e35cbc9b1af Signed-off-by:
Hongchao Zhang <hongchao@whamcloud.com> Reviewed-on: https://review.whamcloud.com/39702 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Lai Siyao <lai.siyao@whamcloud.com> Reviewed-by:
Bobi Jam <bobijam@hotmail.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com> Reviewed-on: https://review.whamcloud.com/40452
-
Alex Zhuravlev authored
to avoid quota misaccounting. Lustre-change: https://review.whamcloud.com/38842 Lustre-commit: 7805b45f Test-Parameters: fstype=ldiskfs Signed-off-by:
Alex Zhuravlev <bzzz@whamcloud.com> Change-Id: I5a02e6e7de71821a10704ac3516ee087998c9c21 Reviewed-by:
Hongchao Zhang <hongchao@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Signed-off-by:
Minh Diep <mdiep@whamcloud.com> Reviewed-on: https://review.whamcloud.com/40403 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com>
-
- 29 Oct, 2020 7 commits
-
-
Jian Yu authored
Update RHEL7.8 kernel to 3.10.0-1127.19.1.el7. Test-Parameters: trivial clientdistro=el7.8 serverdistro=el7.8 Change-Id: I7d0cbdb32b33f2f8121fec707924c35fa086f965 Signed-off-by:
Jian Yu <yujian@whamcloud.com> Reviewed-on: https://review.whamcloud.com/39993 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Yang Sheng <ys@whamcloud.com> Reviewed-by:
Minh Diep <mdiep@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Amir Shehata authored
There are scenarios where there could be a discrepancy between cached peer information and reality. In these cases what could end-up happening is incomplete interface information might be cached because one side determined that the peer didn't require a PUSH. This will lead to undesired MR behavior, where not all the interfaces are used for a period of time. Therefore, it is safer to always force a full discovery cycle: GET/PUSH to ensure both sides are up-to-date. In the NMR case, when discovery is turned off, make sure to flag discovery as complete to avoid stalling the state machine. Signed-off-by:
Amir Shehata <ashehata@whamcloud.com> Change-Id: Ie49ad11e8ff874206baa268a4ef2d58ebb536ed5 Lustre-change: https://review.whamcloud.com/38322 Reviewed-by:
Chris Horn <chris.horn@hpe.com> Reviewed-by:
Serguei Smirnov <ssmirnov@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com> Reviewed-on: https://review.whamcloud.com/39577 Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Cyril Bordage <cbordage@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com>
-
Mikhail Pershin authored
Commit cf78502e checks the new state for IMP_CLOSED value instead of import current state so instead of keeping import closed it prevents import state from being set to IMP_CLOSE Patch restores original check to keep import closed by checking its current state Fixes: cf78502e ("LU-10756 ptlrpc: change IMPORT_SET_* macros into real functions") Signed-off-by:
Mikhail Pershin <mpershin@whamcloud.com> Change-Id: I7df2798f09ce7023381c03957adf530da4149c2d Reviewed-on: https://review.whamcloud.com/37405 Reviewed-by:
James Simmons <jsimmons@infradead.org> 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> (cherry picked from commit 43dddbd0) Reviewed-on: https://review.whamcloud.com/38621
-
Hongchao Zhang authored
During target recovery, the recovery timer should be kept to be armed to ensure the recovery doesn't take too long time, there should be some problem if the deadline of the recovery timer is passed and the recovery is not completed yet, the recovery should be aborted in this case. Lustre-commit: 87443d9c Lustre-change: https://review.whamcloud.com/38277 Change-Id: Id44f2a2d1a3183ad8dd13f4d34392713c55a2cb3 Signed-off-by:
Hongchao Zhang <hongchao@whamcloud.com> Reviewed-on: https://review.whamcloud.com/40303 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Mike Pershin <mpershin@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
John L. Hammond authored
In lod_layout_convert() zero out lcm and lcme before constructing the converted layout. Lustre-commit: 6f2a1c91 Lustre-change: https://review.whamcloud.com/40153 Signed-off-by:
John L. Hammond <jhammond@whamcloud.com> Change-Id: I40f96d51cb63816a9bfc34217f02ff7c450de974 Reviewed-on: https://review.whamcloud.com/40306 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Lai Siyao authored
Object with zero FID is used in stripe allocation, and it's meaningless to initialize such object via lu_object_find_at(), return error early to avoid assertion in lu_object_put(). Lustre-commit: 22ea9767 Lustre-change: https://review.whamcloud.com/39792 Signed-off-by:
Lai Siyao <lai.siyao@whamcloud.com> Change-Id: Ia1bda3d01ff7552e94f31a9c928868652937d559 Reviewed-on: https://review.whamcloud.com/40304 Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Stephane Thiell <sthiell@stanford.edu> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Alex Zhuravlev <bzzz@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Serguei Smirnov authored
Release ln_api_mutex during LNet shutdown while waiting for zombie LNI to allow other threads to read the LNet state updated by the shutdown and fall through, avoiding the deadlock Lustre-change: https://review.whamcloud.com/39933 Lustre-commit: e0c44564 Signed-off-by:
Serguei Smirnov <ssmirnov@whamcloud.com> Change-Id: If0886f1bc4412dd9cacb08a0f06fa69aeeed1c5b Reviewed-on: https://review.whamcloud.com/40171 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Chris Horn <chris.horn@hpe.com> Reviewed-by:
Olaf Faaland-LLNL <faaland1@llnl.gov> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
- 22 Oct, 2020 8 commits
-
-
Serguei Smirnov authored
This is a fix for the issue with LNet lock-up while waiting for routers to become active with check_routers_before_use option. Release ln_api_mutex while waiting to allow incoming connections to be handled. Signed-off-by:
Serguei Smirnov <ssmirnov@whamcloud.com> Change-Id: I63b1d1ce5ee2b27a3bd2cea78713fc6fc7502cf7 Reviewed-on: https://review.whamcloud.com/40172 Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Olaf Faaland-LLNL <faaland1@llnl.gov> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Amir Shehata <ashehata@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Andriy Skulysh authored
mdt_remote_object_lock_try() drops object reference in case of an error but if the request was sent to a server it is decreased again via failed_lock_cleanup() Add ldlm_created_callback. It is called after lock creation, so we can safely add a reference to l_ast_data and drop it only in BL AST handler. Lustre-commit: b2368774 Lustre-change: https://review.whamcloud.com/34181 Cray-bug-id: LUS-7013 Signed-off-by:
Lai Siyao <lai.siyao@whamcloud.com> Signed-off-by:
Andriy Skulysh <c17819@cray.com> Reviewed-by:
Alexandr Boyko <c17825@cray.com> Reviewed-by:
Vitaly Fertman <c17818@cray.com> Reviewed-by:
Mike Pershin <mpershin@whamcloud.com> Reviewed-by:
Lai Siyao <lai.siyao@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com> Change-Id: I49c946278f379390634642370d15c7fe89441d86 Reviewed-on: https://review.whamcloud.com/39976 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com>
-
Vitaly Fertman authored
The blocking cb may be triggered in parallel and the convert logic of the DOM lock must be ready that the cancel_bits could be already zeroed by the first executor. As there may be several blocking cb parallel executors and several conversion callers, each requesting for different inode bits, setup the following logic: - the lock keeps the aggregated set of bits requested for cancelling by different parties, where 0 means the whole lock is to be cancelled, and where the CBPENDING flag means there is a canceling job pending; - once completed, the cancel_bits are zeroed and the CBPENDING flag is dropped, meaning the next request will be a part of the next job; - once a local lock is converted, its state is changed appropriately and no cleanup is left for the interpret time as the lock is ready for the next usage; - as the lock is unlocked in a process of conversion and more bits may appear, check it and repeat appropriately; - let just 1 conversion executor to work at a time, others are waiting similar to ldlm_cli_cancel(); - there are others who may want to cancel unused locks (cancel_lru, cancel_resource_local), consider CANCELING as a request to cancel the full lock independently of the cancel_bits; Some cleanups are done: - move the cache drop logic to the CANCELING part of the blocking cb from the BLOCKING one; - remove the convert RPC interpret, as the lock cleanups are already done in advance; the convert RPC is re-sendable and an error means there is a serioes net problem; Test-Parameters: testlist=racer,racer,racer Signed-off-by:
Vitaly Fertman <c17818@cray.com> Change-Id: I901de34241704ed801152f071cb7f610fe6f4bfe Signed-off-by:
Mikhail Pershin <mpershin@whamcloud.com> Reviewed-on: https://review.whamcloud.com/39854 Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
James Simmons <jsimmons@infradead.org> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Vitaly Fertman <vitaly.fertman@hpe.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Jian Yu authored
This patch makes changes to support new RHEL 7.9 release for Lustre server (kernel 3.10.0-1160.2.1.el7). Test-Parameters: trivial clientdistro=el7.9 serverdistro=el7.9 Change-Id: I7653091f2bd6a579447edb12045984d2829a8235 Signed-off-by:
Jian Yu <yujian@whamcloud.com> Reviewed-on: https://review.whamcloud.com/40224 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Yang Sheng <ys@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Lai Siyao authored
It's a waste of time to call osd_add_oi_cache() in osd_it_ea_rec(), because each dirent read will override it. Lustre-change: https://review.whamcloud.com/39782 Lustre-commit: bc593463 Signed-off-by:
Lai Siyao <lai.siyao@whamcloud.com> Change-Id: Iec701bf66153fdf2ba7a3f3b89565381215abf33 Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Stephane Thiell <sthiell@stanford.edu> Signed-off-by:
Minh Diep <mdiep@whamcloud.com> Reviewed-on: https://review.whamcloud.com/40135 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
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>
-