- 29 Oct, 2020 13 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. Change-Id: I3edb37bf084b2e26ba03cf2079d3358779c84b6e Signed-off-by:
Oleg Drokin <green@whamcloud.com> Reviewed-on: https://review.whamcloud.com/39598 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Yingjin Qian <qian@ddn.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. 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/40375 Reviewed-by:
Mike Pershin <mpershin@whamcloud.com> Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com>
-
Brian Behlendorf authored
Trivial fix to report the total RDMA time outstanding rather than the number of seconds past the deadline. Change-Id: I0ef9b7b9b31a4d27adf4f3f33da46c503e5ca49e Signed-off-by:
Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-on: https://review.whamcloud.com/3622 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Chris Horn <chris.horn@hpe.com> Reviewed-by:
Serguei Smirnov <ssmirnov@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Amin Tootoonchian authored
Add --force to dkms install in: debian/lustre-client-modules-dkms.postinst Without it older than available modules are skipped. Signed-off-by:
Amin Tootoonchian <amint@openai.com> Change-Id: I1d549e7d48d60294810e11ed2588a512f1527eda Reviewed-on: https://review.whamcloud.com/40225 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
James Simmons <jsimmons@infradead.org> Reviewed-by:
Petros Koutoupis <petros.koutoupis@hpe.com> 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. Fixes: 5f2c44bf ("LU-13437 llite: pack parent FID in getattr") Signed-off-by:
Lai Siyao <lai.siyao@whamcloud.com> Change-Id: If8215667bcb10ea3c4c5cd2c9034d81fd1cda3b5 Reviewed-on: https://review.whamcloud.com/40219 Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Mike Pershin <mpershin@whamcloud.com> Reviewed-by:
Oleg Drokin <green@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. Signed-off-by:
Lai Siyao <lai.siyao@whamcloud.com> Change-Id: I3ac38fe34472736849307bb7f1eebb5de9343a5c Reviewed-on: https://review.whamcloud.com/40218 Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Mike Pershin <mpershin@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Amir Shehata authored
libcfs_kmem keeps track of LNet's memory usage. It uses an int type, so it could wrap around if usage grows beyond 2.14 GB. Use atomic64_t to avoid this issue. Signed-off-by:
Amir Shehata <ashehata@whamcloud.com> Change-Id: If96fb8391c6ffb1924e47cef3dfca02eabc5f912 Reviewed-on: https://review.whamcloud.com/40168 Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
John L. Hammond <jhammond@whamcloud.com> Reviewed-by:
Serguei Smirnov <ssmirnov@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Sebastien Buisson authored
A number of tests had previously been added to ALWAYS_EXCEPT when SHARED_KEY was in use. These tests are now passing with SSK, so remove them from the exception list. Test-Parameters: trivial Test-Parameters: env=SHARED_KEY=true mdscount=2 mdtcount=4 osscount=1 ostcount=8 clientcount=2 testlist=sanity,recovery-small,replay-dual,replay-single,sanity-hsm,conf-sanity Test-Parameters: env=SHARED_KEY=true mdscount=2 mdtcount=4 osscount=1 ostcount=8 clientcount=2 testlist=sanity,recovery-small,replay-dual,replay-single,sanity-hsm,conf-sanity Test-Parameters: env=SHARED_KEY=true mdscount=2 mdtcount=4 osscount=1 ostcount=8 clientcount=2 testlist=sanity,recovery-small,replay-dual,replay-single,sanity-hsm,conf-sanity Test-Parameters: env=SHARED_KEY=true mdscount=2 mdtcount=4 osscount=1 ostcount=8 clientcount=2 testlist=sanity,recovery-small,replay-dual,replay-single,sanity-hsm,conf-sanity Signed-off-by:
Sebastien Buisson <sbuisson@ddn.com> Change-Id: If72b212a23b915afdb723acf7254908e1c043e07 Reviewed-on: https://review.whamcloud.com/40161 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-by:
James Nunez <jnunez@whamcloud.com>
-
Lai Siyao authored
Sanity 230q may timeout on ZFS backend, test with fewer files. Test-Parameters: trivial fstype=zfs testlist=sanity mdscount=2 mdtcount=4 env=ONLY=230q,ONLY_REPEAT=100 Signed-off-by:
Lai Siyao <lai.siyao@whamcloud.com> Change-Id: Iaf9e4e6d68244937819305af72df33e59df19f1f Reviewed-on: https://review.whamcloud.com/39528 Reviewed-by:
James Nunez <jnunez@whamcloud.com> 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>
-
Alexander Boyko authored
The timeout_list was previously used for grant shrinking, but right now is dead code. HPE-bug-id: LUS-8520 Fixes: fc915a43 ("LU-8708 osc: depart grant shrinking from pinger") Signed-off-by:
Alexander Boyko <alexander.boyko@hpe.com> Change-Id: Ia7a77b4ac19da768ebe1b0879d7123941f4490b5 Reviewed-on: https://review.whamcloud.com/40243 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Aurelien Degremont <degremoa@amazon.com> Reviewed-by:
Alexey Lyashkov <alexey.lyashkov@hpe.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Sebastien Buisson authored
Improve sanity-sec test_45 by referencing the entire mmap-ed region thanks to multiop. Also make sure encryption tests are passing on newly supported Ubuntu 20.04 distro. Test-Parameters: trivial Test-Parameters: testlist=sanity-sec envdefinitions=ONLY="36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 52 53 54" clientdistro=ubuntu2004 fstype=ldiskfs mdscount=2 mdtcount=4 Test-Parameters: testlist=sanity-sec envdefinitions=ONLY="36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 52 53 54" clientdistro=ubuntu2004 fstype=zfs mdscount=2 mdtcount=4 Test-Parameters: testlist=sanity-sec envdefinitions=ONLY="36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 52 53 54" clientdistro=el8.1 fstype=ldiskfs mdscount=2 mdtcount=4 Test-Parameters: testlist=sanity-sec envdefinitions=ONLY="36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 52 53 54" clientdistro=el8.1 fstype=zfs mdscount=2 mdtcount=4 Signed-off-by:
Sebastien Buisson <sbuisson@ddn.com> Change-Id: I983b6bf94d9f51486fd6b688267af46ed4188a98 Reviewed-on: https://review.whamcloud.com/40146 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>
-
Arshad Hussain authored
In OSD layer, before call ->fallocate(), Lustre has already created journal handle for the fallocate transcation. In ldiskfs/ext4, for very large range fallocate, the operation may split into multiple transaction and call journal start/stop multiple times inside fallocate. However, nested journal will ignore requested credits, this result in running out of credits at the end. As we can not predict the total number of credits needed in advance especially for large fallocate, thus in this patch, we move fallocate logic into Lustre OSD, so that it could reserve credits correctly. It extends credits for the current transaction when found the left buffer credits is less than needed, and then restart the transaction. Testcase sanity/150e and sanity-quota/1h added to verify the issue. Test-Parameters: trivial testlist=sanity ostsizegb=12 env=ONLY="150e" Test-Parameters: testlist=sanity-quota Signed-off-by:
Arshad Hussain <arshad.super@gmail.com> Signed-off-by:
Qian Yingjin <qian@ddn.com> Change-Id: Ib7565ed2c1ae72eef4832fbcb710e0ee70c53aec Reviewed-on: https://review.whamcloud.com/39342 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Wang Shilong <wshilong@whamcloud.com> Reviewed-by:
Oleg Drokin <green@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>
-
- 27 Oct, 2020 1 commit
-
-
Minh Diep authored
Test-Parameters: trivial clientdistro=sles15sp1 Change-Id: If5bbe77bda84381b363c733f763cfc81e29aedb7 Signed-off-by:
Minh Diep <mdiep@whamcloud.com> Reviewed-on: https://review.whamcloud.com/40214 Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Tested-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
James Nunez <jnunez@whamcloud.com>
-
- 23 Oct, 2020 2 commits
-
-
John L. Hammond authored
Add sanity test_426 to ALWAYS_EXCEPT for newer client kernels because it is crashing 100% since "LU-13745 test: add splice test for lustre" was landed. Test-Parameters: trivial clientdistro=ubuntu1804 Signed-off-by:
John L. Hammond <jhammond@whamcloud.com> Change-Id: I84a722a27c3e8a572c20b46ca9daaf44e8720b54 Reviewed-on: https://review.whamcloud.com/40366 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
James Nunez <jnunez@whamcloud.com>
-
John L. Hammond authored
aarch64 gcc segfaults trying to compile our headers so skip sanity 400a, 400b and sanity-lnet 300 on aarch64. Test-Parameters: trivial clientdistro=el8.1 clientarch=aarch64 Signed-off-by:
John L. Hammond <jhammond@whamcloud.com> Change-Id: I8322107919084c86a0cb6fc15730a49f96c03b22 Reviewed-on: https://review.whamcloud.com/40365 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
James Nunez <jnunez@whamcloud.com>
-
- 22 Oct, 2020 2 commits
-
-
Alex Zhuravlev authored
to avoid quota misaccounting. Test-Parameters: fstype=ldiskfs Signed-off-by:
Alex Zhuravlev <bzzz@whamcloud.com> Change-Id: I5a02e6e7de71821a10704ac3516ee087998c9c21 Reviewed-on: https://review.whamcloud.com/38842 Reviewed-by:
Hongchao Zhang <hongchao@whamcloud.com> 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>
-
Sebastien Buisson authored
Client to OST connections can go idle, leading to target disconnect. In this event, maintaining correct sequence number ensures that GSS does not erroneously consider requests as replays. Sequence is normally updated on export destroy, but this can occur too late, ie after a new target connect request has been processed. So explicitly update sec context at disconnect time. Test-Parameters: env=SHARED_KEY=true,SK_FLAVOR=skn mdscount=2 mdtcount=4 osscount=1 ostcount=8 clientcount=2 testlist=sanity,recovery-small,sanity-sec Test-Parameters: env=SHARED_KEY=true,SK_FLAVOR=ska mdscount=2 mdtcount=4 osscount=1 ostcount=8 clientcount=2 testlist=sanity,recovery-small,sanity-sec Test-Parameters: env=SHARED_KEY=true,SK_FLAVOR=ski mdscount=2 mdtcount=4 osscount=1 ostcount=8 clientcount=2 testlist=sanity,recovery-small,sanity-sec Test-Parameters: env=SHARED_KEY=true,SK_FLAVOR=skpi mdscount=2 mdtcount=4 osscount=1 ostcount=8 clientcount=2 testlist=sanity,recovery-small,sanity-sec Signed-off-by:
Sebastien Buisson <sbuisson@ddn.com> Change-Id: I65c27e1ab459b2a29670580121ef6e1a00f18918 Reviewed-on: https://review.whamcloud.com/40122 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Mike Pershin <mpershin@whamcloud.com> Reviewed-by:
James Simmons <jsimmons@infradead.org> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
- 21 Oct, 2020 1 commit
-
-
Andreas Dilger authored
Add sanity test_426 to ALWAYS_EXCEPT for newer client kernels because it is crashing 100% since "LU-13745 test: add splice test for lustre" was landed. Unable to handle NULL pointer dereference at address 0000000000000004 user pgtable: 64k pages, 48-bit VAs, pgdp = 000000009f14b2d0 Internal error: Oops: 96000005 [#1] SMP CPU: 1 PID: 11273 Comm: ptlrpcd_01_01 4.18.0-147.8.1.el8_1.aarch64 #1 Process ptlrpcd_01_01 (pid: 11273, stack limit = 0x00000000f9135a93) Call trace: mempool_free+0x24/0xe0 llcrypt_free_bounce_page.part.1+0x38/0x48 [libcfs] llcrypt_free_bounce_page+0x24/0x30 [libcfs] brw_interpret+0x124/0x10c8 [osc] ptlrpc_check_set+0x688/0x3318 [ptlrpc] ptlrpcd_check+0x470/0x820 [ptlrpc] ptlrpcd+0x3d4/0x5c8 [ptlrpc] kthread+0x130/0x138 Test-Parameters: trivial clientdistro=el8.1 clientarch=aarch64 Signed-off-by:
Andreas Dilger <adilger@whamcloud.com> Change-Id: I8f7b1d5e3ee69a3e0a6dfe3944949741a74cb62a Reviewed-on: https://review.whamcloud.com/40326 Reviewed-by:
Wang Shilong <wshilong@whamcloud.com> Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Sebastien Buisson <sbuisson@ddn.com> Reviewed-by:
Faccini Bruno <bruno.faccini@intel.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
James Simmons <jsimmons@infradead.org> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
- 19 Oct, 2020 15 commits
-
-
Arshad Hussain authored
This patch Improves Error handling and message reporting for file lustre/mdt/mdt_identity.c This patch also replaces ERR_PTR(PTR_ERR()) with ERR_CAST() which is reported by coccinelle Signed-off-by:
Arshad Hussain <arshad.super@gmail.com> Change-Id: I59e262e743e7b1926fe75920239d6086c183b30f Reviewed-on: https://review.whamcloud.com/39203 Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Petros Koutoupis <petros.koutoupis@hpe.com> Reviewed-by:
James Simmons <jsimmons@infradead.org> Tested-by:
Maloo <maloo@whamcloud.com>
-
Andreas Dilger authored
Consolidate lu_object_header_fini() and kfree_rcu() into a single lu_object_header_free() function so that callers which do not need a container for lu_object_header can avoid duplicating common RCU and OBD_FREE handling code. Signed-off-by:
Andreas Dilger <adilger@whamcloud.com> Change-Id: I0fa68f11b5008ede5a498d38b69ccaeecf3ebbe5 Reviewed-on: https://review.whamcloud.com/40204 Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Ben Evans <beevans@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
James Simmons <jsimmons@infradead.org> Reviewed-by:
Neil Brown <neilb@suse.de> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Shaun Tancheff authored
The updated pdirop for Ubuntu 5.4.0-42 kernel also aligns with Linux LTS 5.4.21 through to current 5.4.60 In addition this series is also suitable for the current SUSE 15 SP2 kernel, tested with 5.3.18-24.15. Test-Parameters: trivial HPE-bug-id: LUS-9092 Signed-off-by:
Shaun Tancheff <shaun.tancheff@hpe.com> Change-Id: I75ee53c4096b31c3a2d13748401ed1a12306215b Reviewed-on: https://review.whamcloud.com/40179 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
James Simmons <jsimmons@infradead.org> Reviewed-by:
Yang Sheng <ys@whamcloud.com> Reviewed-by:
Petros Koutoupis <petros.koutoupis@hpe.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. Signed-off-by:
John L. Hammond <jhammond@whamcloud.com> Change-Id: I40f96d51cb63816a9bfc34217f02ff7c450de974 Reviewed-on: https://review.whamcloud.com/40153 Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Jian Yu <yujian@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com>
-
Amin Tootoonchian authored
dkms installs also need libyaml-dev and zlib1g to build and install successfully. Test-Parameters: trivial HPE-bug-id: LUS-9369 Signed-off-by:
Amin Tootoonchian <amint@openai.com> Change-Id: Idbd79295590987b7dace07b4da3ee731d0714a8d Reviewed-on: https://review.whamcloud.com/40138 Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Shaun Tancheff <shaun.tancheff@hpe.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
James Simmons <jsimmons@infradead.org> Reviewed-by:
Petros Koutoupis <petros.koutoupis@hpe.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Lai Siyao authored
mdt_thread_info.mti_attr is used to initialize object attr in create, currently it's copied to object.oo_attr directly, but some fields in mti_attr may contain bogus data because it's not cleared in each use, though la_valid is correctly set, but la_flags is used without checking la_valid in __mdd_permission_internal(). Another minor fix in osd_create(): set size/nlink to zero since they are set in valid. Test-Parameters: testlist=sanity env=ONLY=300,ONLY_REPEAT=100 Signed-off-by:
Lai Siyao <lai.siyao@whamcloud.com> Change-Id: I64816b66a0b3c7aa50e62680d5251141697a8e0f Reviewed-on: https://review.whamcloud.com/40062 Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Alex Zhuravlev <bzzz@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Olaf Faaland-LLNL <faaland1@llnl.gov> Reviewed-by:
Mike Pershin <mpershin@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Lai Siyao authored
Same as file unlink, rmdir should release inode on client, to achieve this, ll_rmdir() update inode i_nlink after rmdir, then the last iput() will release the inode. Signed-off-by:
Lai Siyao <lai.siyao@whamcloud.com> Change-Id: I9181151de1830b48986afec30c83120e9f112a85 Reviewed-on: https://review.whamcloud.com/40011 Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Yingjin Qian <qian@ddn.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Sebastien Buisson authored
In ll_atomic_open(), do not return -ENOKEY when trying to open either a directory or a file without the encryption key, unless O_CREAT flag is specified. Indeed, listing directory content is allowed even without the key. And in case of regular file, ll_file_open() already checks for the presence of an encryption key. Improve sanity-sec test_54 to verify this is working properly. Test-Parameters: testlist=sanity-sec envdefinitions=ONLY="36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 52 53 54" clientdistro=el8.1 fstype=ldiskfs mdscount=2 mdtcount=4 Test-Parameters: testlist=sanity-sec envdefinitions=ONLY="36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 52 53 54" clientdistro=el8.1 fstype=zfs mdscount=2 mdtcount=4 Signed-off-by:
Sebastien Buisson <sbuisson@ddn.com> Change-Id: I813d4ec938e00c8463b1d3ee9766d180806b40ba Reviewed-on: https://review.whamcloud.com/39983 Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
John L. Hammond <jhammond@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Amir Shehata authored
If peer is down don't retry indefinitely. Use the retry_count parameter to restrict the number of retries. After which the connection fails and error is propagated up. This prevents long timeouts when mounting a file system with nodes which might have their NIDs configured in the FS, but the nodes have been taken offline. Test-Parameters: trivial Signed-off-by:
Amir Shehata <ashehata@whamcloud.com> Change-Id: I04faf690ed13357e3ed50c2adaadee265db269c7 Reviewed-on: https://review.whamcloud.com/39981 Reviewed-by:
Serguei Smirnov <ssmirnov@whamcloud.com> Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Chris Horn <chris.horn@hpe.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Brian Behlendorf authored
* Update zfs_refcount_add() configure check. OpenZFS 2.0 has renamed the sys/refcount.h header to sys/zfs_refcount.h to avoid a conflict with this header on FreeBSD. Since Lustre never directly includes this header by name adjust the configure check to indirectly include it through sys/dnode.h. This was we don't need a separate check to determine the expected header name. * Add db->db_dirty_records check. The db->db_last_dirty field was replaced by a proper db->db_dirty_records list_t. Detect the code change and add a osd_db_dirty_txg() helper function which returns the largest dirty txg for the dbuf or zero when clean. Signed-off-by:
Brian Behlendorf <behlendorf1@llnl.gov> Change-Id: Ifc9573ec410f50f46f2c601368639453e78b291d Reviewed-on: https://review.whamcloud.com/39822 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
James Simmons <jsimmons@infradead.org>
-
Sebastien Buisson authored
When SSK is enabled, credentials are evaluated in new_init_ucred(). In case a nodemap entry is defined with squash UID/GID, it must prevail over normally mapped UID/GID. Signed-off-by:
Sebastien Buisson <sbuisson@ddn.com> Change-Id: I1adfd98759e5b98ec78f0477846e1820fed5d8b3 Reviewed-on: https://review.whamcloud.com/40140 Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Lai Siyao <lai.siyao@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
James Simmons authored
Now that Ubuntu20 is supported for both servers and clients lets list it in the Changelog Test-Parameters: trivial Change-Id: Id413dc5bf5f8e418f379b8b9c8efc4e2d5521311 Signed-off-by:
James Simmons <jsimmons@infradead.org> Reviewed-on: https://review.whamcloud.com/40088 Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Peter Jones <pjones@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Tested-by:
Sebastien Buisson <sbuisson@ddn.com>
-
Wang Shilong authored
copied from xfstests with adjustment with PAGE SIZE alignement for DIO, and codes style cleanup. Test-Parameters: trivial envdefinitions=ONLY=425 testlist=sanity Signed-off-by:
Wang Shilong <wshilong@ddn.com> Change-Id: I28e83abb4a1181db20a2564a10f40ca208bb2756 Reviewed-on: https://review.whamcloud.com/39695 Reviewed-by:
James Simmons <jsimmons@infradead.org> Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com>
-
Etienne AUJAMES authored
"lfs setquota" and "lfs quota" should consider as invalid quota id value 0xFFFFFFFF (aka. (uid_t)-1) Fixes: 3d9900e7 ("LU-12549 utils: Check range of quota ID for lfs") Signed-off-by:
Etienne AUJAMES <eaujames@ddn.com> Change-Id: Idbd5970a6f53a544c15bdf22bcf24a7aeba772a8 Reviewed-on: https://review.whamcloud.com/39559 Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Wang Shilong <wshilong@whamcloud.com> Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
Andreas Dilger authored
Avoid one level of indirection when calling nsecs_to_jiffies64(). Test-Parameters: trivial Signed-off-by:
Andreas Dilger <adilger@whamcloud.com> Change-Id: Ib5ff2aae5352bc86d75a8ae2a2a9f1b406887376 Reviewed-on: https://review.whamcloud.com/40145 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
James Simmons <jsimmons@infradead.org> Reviewed-by:
Jian Yu <yujian@whamcloud.com> Reviewed-by:
Mike Pershin <mpershin@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
- 16 Oct, 2020 2 commits
-
-
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/40160 Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Yang Sheng <ys@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
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/40142 Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Yang Sheng <ys@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com>
-
- 12 Oct, 2020 4 commits
-
-
Vladimir Saveliev authored
Commit fe5c8016 introduced a problem for recovery. When recovery timeout reaches hard recovery timeout target_recovery_overseer() leaves obd_recovery_expired flag set. That makes check_for_next_transno() to not wait until next replay request arrives which leads to assertion: LASSERT(atomic_read(&obd->obd_req_replay_clients) == 0); Test to illustrace the issue is added. replay-single.sh:test_59 is added to EXCEPT_ALWAYS list: it was broken harmlessly before this patch and this patch made that test really fail due to that defect. Fixes: fe5c8016 ("LU-11762 ldlm: ensure the recovery timer is armed") HPE-bug-id: LUS-8299 Signed-off-by:
Vladimir Saveliev <c17830@cray.com> Change-Id: Ia694a519b5d73620be3014e92fd671d388550979 Reviewed-on: https://review.whamcloud.com/39532 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-
John L. Hammond authored
In kiblnd_resolve_addr(), ensure that the current task has CAP_NET_BIND_SERVICE before calling rdma_resolve_addr() with a protected source port. Signed-off-by:
John L. Hammond <jhammond@whamcloud.com> Change-Id: I0552fdd64648ccb8c74667bd93852697f99f0c33 Reviewed-on: https://review.whamcloud.com/40127 Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Amir Shehata <ashehata@whamcloud.com> Tested-by:
Amir Shehata <ashehata@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com>
-
Serguei Smirnov authored
sanityn test_104 prints STAT times instead of MDT times. Fix it so it prints both for comparison. Test-Parameters: trivial testlist=sanityn Signed-off-by:
Serguei Smirnov <ssmirnov@whamcloud.com> Change-Id: I4ae0c1fe704c02c3463043830783cd1d6cd46b98 Reviewed-on: https://review.whamcloud.com/40061 Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
James Nunez <jnunez@whamcloud.com>
-
Andriy Skulysh authored
Punch uses o_blocks to send end of a region. So it can be mixed with real blocks count on error. Update blocks count only on success. Change-Id: I86241c4e5723079b20401805b853d356130f58d9 HPE-bug-id: LUS-7407 Test-Parameters: fstype=zfs Signed-off-by:
Andriy Skulysh <c17819@cray.com> Reviewed-by:
Andrew Perepechko <c17827@cray.com> Reviewed-by:
Alexander Boyko <c17825@cray.com> Tested-by:
Elena Gryaznova <c17455@cray.com> Reviewed-on: https://review.whamcloud.com/40050 Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Alexander Boyko <alexander.boyko@hpe.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Reviewed-by:
Arshad Hussain <arshad.super@gmail.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
-