Skip to content
Commit a97adc9f authored by Chris Mason's avatar Chris Mason
Browse files

Btrfs: use larger nr_to_write for larger extents



When btrfs fills a large delayed allocation extent, it is a good idea
to try and convince the write_cache_pages caller to go ahead and
write a good chunk of that extent.  The extra IO is basically free
because we know it is contiguous.

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 4f878e84
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment