[LU-191] mdd_close will always start transaction even atime is not changed Created: 04/Apr/11 Updated: 08/Dec/11 Resolved: 08/Dec/11 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.1.0 |
| Fix Version/s: | Lustre 2.1.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Liang Zhen (Inactive) | Assignee: | Liang Zhen (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 5070 |
| Description |
|
I've fixed this in bug 23289 (attachment 32253), however it's back after landing of another patch (bug 23291, attachment 31108):
with this patch, the condition is always false if "la->la_atime == tmp_la->la_atime", which means even atime is exactly same as before, we still start a transaction and setattr, this will give a big impact on performance for those shortly open+close applications/tests. |
| Comments |
| Comment by Mikhail Pershin [ 04/Apr/11 ] |
|
so that is enough to use >= in first check and maybe just < in second, right? |
| Comment by Liang Zhen (Inactive) [ 04/Apr/11 ] |
|
exactly, |
| Comment by Build Master (Inactive) [ 04/Apr/11 ] |
|
Integrated in Liang Zhen : 505ae6ff13b72df8d6db1627ee509398b91c8fd2
|
| Comment by Build Master (Inactive) [ 18/Apr/11 ] |
|
Integrated in Oleg Drokin : d65f789f433f2d52e82116c374d88906321f9d28
|
| Comment by Build Master (Inactive) [ 18/Apr/11 ] |
|
Integrated in Oleg Drokin : d65f789f433f2d52e82116c374d88906321f9d28
|
| Comment by Build Master (Inactive) [ 18/Apr/11 ] |
|
Integrated in Oleg Drokin : d65f789f433f2d52e82116c374d88906321f9d28
|
| Comment by Build Master (Inactive) [ 18/Apr/11 ] |
|
Integrated in Oleg Drokin : d65f789f433f2d52e82116c374d88906321f9d28
|
| Comment by Build Master (Inactive) [ 18/Apr/11 ] |
|
Integrated in Oleg Drokin : d65f789f433f2d52e82116c374d88906321f9d28
|
| Comment by Build Master (Inactive) [ 18/Apr/11 ] |
|
Integrated in Oleg Drokin : d65f789f433f2d52e82116c374d88906321f9d28
|
| Comment by Build Master (Inactive) [ 18/Apr/11 ] |
|
Integrated in Oleg Drokin : d65f789f433f2d52e82116c374d88906321f9d28
|
| Comment by Build Master (Inactive) [ 18/Apr/11 ] |
|
Integrated in Oleg Drokin : d65f789f433f2d52e82116c374d88906321f9d28
|
| Comment by Build Master (Inactive) [ 18/Apr/11 ] |
|
Integrated in Oleg Drokin : d65f789f433f2d52e82116c374d88906321f9d28
|
| Comment by Liang Zhen (Inactive) [ 08/Dec/11 ] |
|
patch already landed in master |