diff options
author | Theodore Ts'o <tytso@mit.edu> | 2017-11-08 22:23:20 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2017-11-08 22:23:20 -0500 |
commit | 232530680290ba94ca37852ab10d9556ea28badf (patch) | |
tree | cf23ba2b6c563adc685f3b9fee830ac7d202546c /fs/nfsd/blocklayout.c | |
parent | d77147ff443b255d82c907a632c825b2cc610b10 (diff) | |
download | linux-rpi-232530680290ba94ca37852ab10d9556ea28badf.tar.gz linux-rpi-232530680290ba94ca37852ab10d9556ea28badf.tar.bz2 linux-rpi-232530680290ba94ca37852ab10d9556ea28badf.zip |
ext4: improve smp scalability for inode generation
->s_next_generation is protected by s_next_gen_lock but its usage
pattern is very primitive. We don't actually need sequentially
increasing new generation numbers, so let's use prandom_u32() instead.
Reported-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/nfsd/blocklayout.c')
0 files changed, 0 insertions, 0 deletions