diff options
author | 2024-08-27 02:41:12 +0900 | |
---|---|---|
committer | 2024-09-01 20:43:43 -0700 | |
commit | 9860f434056e6358ac63e7068254aeaf339cf71e (patch) | |
tree | e0682e02f3cccddb4ae77e886499a029f854d5d3 /scripts/generate_rust_analyzer.py | |
parent | nilfs2: separate inode type information from i_state field (diff) | |
download | linux-rng-9860f434056e6358ac63e7068254aeaf339cf71e.tar.xz linux-rng-9860f434056e6358ac63e7068254aeaf339cf71e.zip |
nilfs2: eliminate the shared counter and spinlock for i_generation
Use get_random_u32() as the source for inode->i_generation for new inodes,
and eliminate the original source, the shared counter ns_next_generation
along with its exclusive access spinlock ns_next_gen_lock.
Link: https://lkml.kernel.org/r/20240826174116.5008-5-konishi.ryusuke@gmail.com
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Cc: Huang Xiaojia <huangxiaojia2@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions