[LU-4389] If OST_SYNC causes inode update, client does not reflect change Created: 17/Dec/13 Updated: 20/Aug/15 Resolved: 19/Jun/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.5.0, Lustre 2.6.0 |
| Fix Version/s: | Lustre 2.8.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Nathaniel Clark | Assignee: | Zhenyu Xu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | zfs | ||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 12049 | ||||
| Description |
|
This really only affects ZFS, because zfs does not update # of blocks until the blocks are flushed to disk, so after an OST_WRITE, the number of blocks only reflect the number on disk, but that number is updated after an OST_SYNC RPC (which returns the correct number of blocks, but is ignored by the client code). Test: (on a ZFS backed setup) |
| Comments |
| Comment by Nathaniel Clark [ 17/Dec/13 ] |
|
lustre/osc/osc_request.c::osc_sync_interpret() should be do attribute update similar to brw_interpret(). |
| Comment by Gerrit Updater [ 03/Dec/14 ] |
|
Bobi Jam (bobijam@gmail.com) uploaded a new patch: http://review.whamcloud.com/12915 |
| Comment by Gerrit Updater [ 19/Jun/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12915/ |
| Comment by Peter Jones [ 19/Jun/15 ] |
|
Landed for 2.8 |