[LU-6910] Configurable values for OST reserved size Created: 27/Jul/15 Updated: 29/Sep/16 Resolved: 29/Sep/16 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.9.0 |
| Type: | Improvement | Priority: | Major |
| Reporter: | Alexander Boyko | Assignee: | WC Triage |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||||||||||
| Description |
|
osp_pre_status=-ENOSPC is used to skip OST from object allocation. The error was set when OST available space is less than 0.1% of total OST size. This value is not configurable. For many cases 0.1% is too low, because append works for existing files. So, procfs files was added for configuration. |
| Comments |
| Comment by Alexander Boyko [ 27/Jul/15 ] |
| Comment by Gerrit Updater [ 14/Sep/15 ] |
|
[ removed unrelated patch comment ] |
| Comment by Gerrit Updater [ 11/Dec/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15731/ |
| Comment by Andreas Dilger [ 11/Dec/15 ] |
|
This also fixed a couple of bugs in the handling of nearly full OSTs. |
| Comment by Peter Jones [ 11/Dec/15 ] |
|
Landed for 2.8 |
| Comment by Gerrit Updater [ 15/Dec/15 ] |
|
Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: http://review.whamcloud.com/17617 |
| Comment by Peter Jones [ 15/Dec/15 ] |
|
Patch reverted. See |
| Comment by Gerrit Updater [ 15/Dec/15 ] |
|
Andreas Dilger (andreas.dilger@intel.com) merged in patch http://review.whamcloud.com/17617/ |
| Comment by Andreas Dilger [ 15/Dec/15 ] |
|
Alexander, could you please resubmit your patch once you have fixed the two test failures ( Test-Parameters: testlist=sanity,sanity,sanity,sanity,sanity,sanity Test-Parameters: testlist=sanity,sanity,sanity,sanity,sanity,sanity To run a bunch of tests and two sets in parallel so it doesn't take so long. There was also a code late review comment internally that returning -ENOSPC from ->statfs() is probably not the right thing, because this may cause unexpected errors if the caller just wants to know the space usage. Instead, it should set OS_STATE_ENOSPC or OS_STATE_ENOINO in the os_state field and the caller should check that. Having two separate flags also avoids the need to guess what the -ENOSPC error is for. |
| Comment by Andreas Dilger [ 15/Dec/15 ] |
|
It looks like the last few comments posted in diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh
index 7a25e4b..19e8521 100755
--- a/lustre/tests/sanity.sh
+++ b/lustre/tests/sanity.sh
@@ -1885,6 +1885,7 @@ check_seq_oid()
$(facet_mntpt ost$ost)/$obj_file)
unmount_fstype ost$ost
start ost$ost $dev $OST_MOUNT_OPTS
+ clients_up
fi
As yet the |
| Comment by Gerrit Updater [ 17/Dec/15 ] |
|
Alexander Boyko (alexander.boyko@seagate.com) uploaded a new patch: http://review.whamcloud.com/17656 |
| Comment by Gerrit Updater [ 29/Sep/16 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/17656/ |
| Comment by Peter Jones [ 29/Sep/16 ] |
|
Landed for 2.9 |