ext2 - setting s_prealloc_blocks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I'm looking at ext2_new_block (fs/ext2/balloc.c) and it makes reference
to a field in the struct ext2_super_block named s_prealloc_blocks. I
have grepped through the kernel source, and looked into tune2fs and
dumpe2fs but don't see any way to set the value of s_prealloc_blocks.
The value is  always 0 which causes EXT2_DEFAULT_PREALLOC_BLOCKS to be
used (which defaults to 8).

Just curious how one sets this value... Any ideas?

Thanks,
Kirk

--------------------------------------------
Kirk True
Principal Engineer
Mustard Grain

kirk@xxxxxxxxxxxxxxxx
(831) 588-7959
http://www.mustardgrain.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux