[LU-12137] update client to use iterate_shared Created: 01/Apr/19  Updated: 25/Nov/19  Resolved: 13/Nov/19

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.13.0, Lustre 2.14.0

Type: Improvement Priority: Minor
Reporter: Andreas Dilger Assignee: James A Simmons
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-11044 ext4_dir_operations uses iterate_shar... Resolved
is related to LU-10997 Ubuntu 18 support Resolved
is related to LU-11200 Centos 8 arm64 server support Resolved
is related to LU-11832 ARM servers crashing on MDS startup Resolved
is related to LU-12598 osd_ios_lf_fill() returns 0 on some e... Resolved
is related to LU-11310 support for SLES 15 Resolved
Rank (Obsolete): 9223372036854775807

 Description   

Since kernel commit v4.6-rc3-29-g6192269 there is a new ->iterate_shared() file operation for reading directories with a shared lock on the client. We should change over the llite client to use the ->iterate_shared() method to improve directory access concurrency on the client.

There is already a HAVE_ITERATE_SHARED configure check that can be used to detect support for this functionality.



 Comments   
Comment by Gerrit Updater [ 01/Apr/19 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34556
Subject: LU-12137 llite: use ->iterate_shared() method for readdir
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 4cec0692dc78b8b2a143e472605d2adf213c3710

Comment by Gerrit Updater [ 18/Apr/19 ]

James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/34714
Subject: LU-12137 ldiskfs: properly handle VFS parallel locking
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 95b2c2b6324bb0924d0d6316e3f307e1daf21145

Comment by Gerrit Updater [ 10/Jul/19 ]

James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/35453
Subject: LU-12137 osd-ldiskfs: migrate osd_ios_lookup_one_len() to osd_compat.c
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: c76a09bac519402c38da69253c682f9739e3e1a9

Comment by Gerrit Updater [ 10/Jul/19 ]

James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/35454
Subject: LU-12137 osd-ldiskfs: migrate ll_lookup_one_len to osd_compat.c
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 4f63ff61af6d69a838a5f136511f95dc36b0cca2

Comment by Gerrit Updater [ 10/Jul/19 ]

James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/35455
Subject: LU-12137 osd-ldiskfs: use ERR_CAST in osd_oi_index_open()
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 972ccdb3afbc09d64cd0ad6955545925112b0a4e

Comment by Gerrit Updater [ 17/Jul/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35453/
Subject: LU-12137 osd-ldiskfs: migrate osd_ios_lookup_one_len() to osd_compat.c
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 750fc5bc98606df0d3d25e8ddda8288ec186a258

Comment by Gerrit Updater [ 20/Jul/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35454/
Subject: LU-12137 osd-ldiskfs: migrate ll_lookup_one_len to osd_compat.c
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 49f51ae420912b0259f9b9648cff32534fe11b50

Comment by Gerrit Updater [ 20/Jul/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35455/
Subject: LU-12137 osd-ldiskfs: use ERR_CAST in osd_oi_index_open()
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 4c142948d13a21df378062fd55836945db33c667

Comment by Gerrit Updater [ 22/Jul/19 ]

James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/35580
Subject: LU-12137 osd-ldiskfs: have scrub code handle NULL dentry inode directly
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: b128a127cfd0df36a62ff47e968061ba2f031a7f

Comment by Gerrit Updater [ 22/Jul/19 ]

James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/35581
Subject: LU-12137 osd-ldiskfs: shared common code for osd lookup
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: ea68e47040593ce67a4b1301842c9278aabd46af

Comment by Gerrit Updater [ 22/Jul/19 ]

James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/35582
Subject: LU-12137 osd-ldiskfs: trace the obd device used for osd lookup
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 0091250f55cc3b1ead73ee802bc462e4f87535fe

Comment by Gerrit Updater [ 23/Jul/19 ]

James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/35594
Subject: LU-12137 osd-ldiskfs: create locked and unlocked versions of osd lookup code
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 14bd0359ebb8c9498ba49b1902b90d4e00b93162

Comment by Gerrit Updater [ 30/Jul/19 ]

Neil Brown (neilb@suse.com) uploaded a new patch: https://review.whamcloud.com/35644
Subject: LU-12137 osd-ldiskfs: have scrub code handle NULL dentry inode
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 21467b9dd7931cbca03f508874e52ecccd205ea6

Comment by Gerrit Updater [ 30/Jul/19 ]

Neil Brown (neilb@suse.com) uploaded a new patch: https://review.whamcloud.com/35645
Subject: LU-12137 osd-ldiskfs: refactor osd_ios_ROOT_scan
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: bd38727e69eee50b111ff083620676b8256924b7

Comment by Gerrit Updater [ 15/Aug/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35580/
Subject: LU-12137 osd-ldiskfs: have scrub code handle NULL dentry inode
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: c2134f1e55150c6f7add284d8bf3c32a445ab235

Comment by Gerrit Updater [ 15/Aug/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35644/
Subject: LU-12137 osd-ldiskfs: implement proper error handling in osd_ios_OBJECTS_scan
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 752dec2f36cef0e4893f9c68d7cc2b9505488471

Comment by Gerrit Updater [ 15/Aug/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35581/
Subject: LU-12137 osd-ldiskfs: shared common code for osd lookup
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 49bced40ab3628590b720bcf74dbe38f8abada38

Comment by Gerrit Updater [ 15/Aug/19 ]

James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/35803
Subject: LU-12137 osd-ldiskfs: refactor osd_ios_ROOT_scan
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 3cf2e4c7016978e2cfa0c001db81d65d0b286a15

Comment by Gerrit Updater [ 16/Sep/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35803/
Subject: LU-12137 osd-ldiskfs: refactor osd_ios_ROOT_scan
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: c769ba3025c59f110c38c44552a05142705c94c3

Comment by Gerrit Updater [ 16/Sep/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35582/
Subject: LU-12137 osd-ldiskfs: trace the obd device used for osd lookup
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: d15b0bd6949d18e5abf29033af36186269b48c01

Comment by Gerrit Updater [ 16/Sep/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35594/
Subject: LU-12137 osd-ldiskfs: create locked and unlocked versions of osd lookup code
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 7c0547a7dd732a9d127e427452a95e689a2c38de

Comment by Gerrit Updater [ 12/Nov/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34556/
Subject: LU-12137 llite: use ->iterate_shared() for readdir
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 6e26d2d715ee65079682f7823f986f61f80eb07c

Comment by Peter Jones [ 12/Nov/19 ]

It looks like all the patches tracked under this JIRA have landed. Are there more to come?

Comment by James A Simmons [ 13/Nov/19 ]

All done. Can be closed.

Generated at Sat Feb 10 02:49:58 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.