Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
slash
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
slash
Commits
4cf2cca6
Unverified
Commit
4cf2cca6
authored
Oct 24, 2023
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUDDY_REQS(): name argument now names the struct
parent
7acb1991
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
buddy.h
src/buddy.h
+1
-1
fellow_storage.c
src/fellow_storage.c
+3
-1
No files found.
src/buddy.h
View file @
4cf2cca6
...
...
@@ -547,7 +547,7 @@ BUDDYF(take_ptr_extent)(buddy_t *buddy, const struct buddy_ptr_extent *rs,
#endif
#define BUDDY_REQS(name, size) \
struct { \
struct
name
{ \
struct i_reqalloc reqs_i[size]; \
struct buddy_reqs reqs; \
}
...
...
src/fellow_storage.c
View file @
4cf2cca6
...
...
@@ -263,6 +263,8 @@ enum stvfe_scope {
STVFE_VCL_EMPTY
// fail unless storage is empty
};
BUDDY_REQS
(
ban_reqs_s
,
DLE_BAN_REG_NREGION
);
struct
stvfe
{
unsigned
magic
;
#define STVFE_MAGIC 0x26172c91
...
...
@@ -298,7 +300,7 @@ struct stvfe {
}
banstat
;
struct
buddy_off_extent
ban_space
[
DLE_BAN_REG_NREGION
];
/* async reservation for ban export disk space */
BUDDY_REQS
(
reqs
,
DLE_BAN_REG_NREGION
)
ban_reqs
[
1
];
struct
ban_reqs_s
ban_reqs
[
1
];
VTAILQ_ENTRY
(
stvfe
)
list
;
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment