[LU-11296] page cache cleanup improvement on lock flush Created: 29/Aug/18 Updated: 25/Feb/20 Resolved: 04/Jan/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.13.0, Lustre 2.12.3 |
| Type: | Improvement | Priority: | Major |
| Reporter: | Andrew Perepechko | Assignee: | Andrew Perepechko |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch | ||
| Issue Links: |
|
||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
|
If client A writes a 100 GiB file, then client B attempts to read it, the cached PW lock on client A will be flushed together with page cache data. It can take 5-10 s just to complete that.
We can speed up cache invalidation a bit. |
| Comments |
| Comment by Gerrit Updater [ 29/Aug/18 ] |
|
Andrew Perepechko (c17827@cray.com) uploaded a new patch: https://review.whamcloud.com/33090 |
| Comment by Andreas Dilger [ 30/Aug/18 ] |
|
Have you looked into other kinds of speed ups (eg. new kernel APIs for managing multiple pages at once)? |
| Comment by Andrew Perepechko [ 30/Aug/18 ] |
Patrick Farrell has a patch with such an optimization. It's currently under testing. |
| Comment by Gerrit Updater [ 04/Jan/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33090/ |
| Comment by Peter Jones [ 04/Jan/19 ] |
|
Landed for 2.13 |
| Comment by Gerrit Updater [ 19/Aug/19 ] |
|
Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35831 |
| Comment by Gerrit Updater [ 04/Oct/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35831/ |
| Comment by Gerrit Updater [ 25/Feb/20 ] |
|
Alex Zhuravlev (bzzz@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/37722 |