[LU-7218] Client fails to obtain grant: ofd_grant()) fs2test-OST0003: client xxx requesting > 2GB grant 2147483648 Created: 28/Sep/15 Updated: 27/May/19 Resolved: 02/Oct/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.5.3 |
| Fix Version/s: | Lustre 2.8.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Gregoire Pichon | Assignee: | Gregoire Pichon |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
The problem has been detected on Lustre 2.5.3.90. The application running on the client is failing msync() operation with a SIGBUS signal. Additionally, read/write Posix IO performance is quite low. The issue comes from an invalid setting of max_dirty_mb tunable value to 2048. After some time the client consumes all its grants and the OSS log the following error message. 1441296045 2015 Sep 3 18:00:45 valx7 kern err kernel LustreError: 16623:0:(ofd_grant.c:607:ofd_grant()) fs2test-OST0003: client fa81e2f5-d6fc-f980-5a79-f76c8a08cec8/ffff880629792c00 requesting > 2GB grant 2147483648 Indeed the max_dirty_mb value should only be set to a value strictly lower than 2GB. I will post a patch that fixes osc_max_dirty_mb_seq_write() routine to prevent setting the value to 2048. |
| Comments |
| Comment by Gerrit Updater [ 28/Sep/15 ] |
|
Grégoire Pichon (gregoire.pichon@bull.net) uploaded a new patch: http://review.whamcloud.com/16652 |
| Comment by Gerrit Updater [ 02/Oct/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/16652/ |
| Comment by Joseph Gmitter (Inactive) [ 02/Oct/15 ] |
|
Landed for 2.8.0 |