Skip to content

Commit

Permalink
eosfs: set DefaultQuotaBytes to 2T for 1T available (#3492)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuAlfageme authored Nov 24, 2022
1 parent 9a3817a commit 79a7d13
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions changelog/unreleased/eos-default-quota-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Bugfix: Fixes the DefaultQuotaBytes in EOS

We were setting the default logical quota to 1T, resulting
on only 500GB available to the user.

https://github.com/cs3org/reva/pull/3492
2 changes: 1 addition & 1 deletion pkg/storage/utils/eosfs/eosfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func (c *Config) init() {
}

if c.DefaultQuotaBytes == 0 {
c.DefaultQuotaBytes = 1000000000000 // 1 TB
c.DefaultQuotaBytes = 2000000000000 // 1 TB logical
}
if c.DefaultQuotaFiles == 0 {
c.DefaultQuotaFiles = 1000000 // 1 Million
Expand Down

0 comments on commit 79a7d13

Please sign in to comment.