| Summary: | xfstests xfs/216: mkfs.xfs log size scaling test failed | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Eryu Guan <eguan> |
| Component: | xfsprogs | Assignee: | Eric Sandeen <esandeen> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Boris Ranto <branto> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 7.0 | CC: | branto |
| Target Milestone: | rc | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | xfsprogs-3.2.0-0.8.alpha2.el7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-13 12:52:49 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Eryu Guan
2013-11-25 03:11:23 UTC
Log scaling changed with:
commit 88cd79be1aa1f6947d20da102fbf5bb128d70ce1
Author: Dave Chinner <dchinner>
Date: Wed Sep 4 22:05:50 2013 +0000
xfs: Add xfs_log_rlimit.c
Add source files for xfs_log_rlimit.c The new file is used for log
size calculations and validation shared with userspace.
[dchinner: xfs_log_calc_max_attrsetm_res() does not modify the
tr_attrsetm reservation, just calculates the maximum. ]
[dchinner: rework loop in xfs_log_get_max_trans_res() ]
[dchinner: implement xfs_log_calc_unit_res() in util.c to give mkfs
a worse case calculation of the log size needed. ]
Signed-off-by: Jie Liu <jeff.liu>
Signed-off-by: Dave Chinner <dchinner>
Reviewed-by: Mark Tinguely <tinguely>
Signed-off-by: Rich Johnston <rjohnston>
Let me see if it was intentional...
Ok, Dave has a patch on the list to fix this: [PATCH] mkfs: default log size for small filesystems too large but it needs a V2. Setting blocker? & marking as a regression, this is an unintentional change from the CRC updates. Verified in xfsprogs-3.2.0-0.8.alpha2.el7, the log size is of the same size that the test case expects it to be. Reproduced in xfsprogs-3.2.0-0.6.alpha2.el7, the log size is too big on sub-64g file systems. This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |