[LU-11404] improve fsync() and fdatasync() Created: 19/Sep/18 Updated: 11/Apr/23 Resolved: 11/Apr/23 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Upstream |
| Fix Version/s: | Lustre 2.16.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Alex Zhuravlev | Assignee: | Alex Zhuravlev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
workload like dd oflag=sync causes MDS_SYNC RPC on every write(2) syscall. given the only things we store on MDS are file itself and layout it should be enough to send MDS_SYNC once (to sync file creation) and once for every layout change.
|
| Comments |
| Comment by Alex Zhuravlev [ 03/Oct/18 ] |
|
with https://review.whamcloud.com/#/c/33175/ : SLOW=yes sh sanity-benchmark.sh the client got 6931 fsync() requests and 3362 (48.5%) were need to be sent to MDT. |
| Comment by Mikhail Pershin [ 20/Oct/22 ] |
|
Is DoM a special case in that sense and need own handling? |
| Comment by Gerrit Updater [ 11/Apr/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/33175/ |
| Comment by Peter Jones [ 11/Apr/23 ] |
|
Landed for 2.16 |