projects
/
platform
/
upstream
/
btrfs-progs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
btrfs-progs: Introduce kernel sizes to cleanup large intermediate number
[platform/upstream/btrfs-progs.git]
/
disk-io.c
diff --git
a/disk-io.c
b/disk-io.c
index
2a94d4f
..
318128c
100644
(file)
--- a/
disk-io.c
+++ b/
disk-io.c
@@
-207,7
+207,7
@@
void readahead_tree_block(struct btrfs_root *root, u64 bytenr, u32 blocksize,
bytenr, &length, &multi, 0, NULL)) {
device = multi->stripes[0].dev;
device->total_ios++;
- blocksize = min(blocksize, (u32)
(64 * 1024)
);
+ blocksize = min(blocksize, (u32)
SZ_64K
);
readahead(device->fd, multi->stripes[0].physical, blocksize);
}