Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
83041add
Commit
83041add
authored
Mar 26, 2008
by
Chris Mason
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Btrfs: Use a higher default ra pages
Signed-off-by:
Chris Mason
<
chris.mason@oracle.com
>
parent
04160088
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
fs/btrfs/disk-io.c
fs/btrfs/disk-io.c
+1
-1
No files found.
fs/btrfs/disk-io.c
View file @
83041add
...
@@ -694,7 +694,7 @@ void btrfs_unplug_io_fn(struct backing_dev_info *bdi, struct page *page)
...
@@ -694,7 +694,7 @@ void btrfs_unplug_io_fn(struct backing_dev_info *bdi, struct page *page)
static
int
setup_bdi
(
struct
btrfs_fs_info
*
info
,
struct
backing_dev_info
*
bdi
)
static
int
setup_bdi
(
struct
btrfs_fs_info
*
info
,
struct
backing_dev_info
*
bdi
)
{
{
bdi_init
(
bdi
);
bdi_init
(
bdi
);
bdi
->
ra_pages
=
default_backing_dev_info
.
ra_pages
;
bdi
->
ra_pages
=
default_backing_dev_info
.
ra_pages
*
4
;
bdi
->
state
=
0
;
bdi
->
state
=
0
;
bdi
->
capabilities
=
default_backing_dev_info
.
capabilities
;
bdi
->
capabilities
=
default_backing_dev_info
.
capabilities
;
bdi
->
unplug_io_fn
=
btrfs_unplug_io_fn
;
bdi
->
unplug_io_fn
=
btrfs_unplug_io_fn
;
...
...
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