Searched hist:"8 f82f840ec6ab873f520364d443ff6fa1b3f8e22" (Results 1 – 4 of 4) sorted by relevance
/linux/fs/ext4/ |
H A D | resize.c | diff 8f82f840ec6ab873f520364d443ff6fa1b3f8e22 Wed Jul 27 03:35:44 CEST 2011 Yongqiang Yang <xiaoqiangnk@gmail.com> ext4: prevent parallel resizers by atomic bit ops
Before this patch, parallel resizers are allowed and protected by a mutex lock, actually, there is no need to support parallel resizer, so this patch prevents parallel resizers by atmoic bit ops, like lock_page() and unlock_page() do.
To do this, the patch removed the mutex lock s_resize_lock from struct ext4_sb_info and added a unsigned long field named s_resize_flags which inidicates if there is a resizer.
Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
|
H A D | ioctl.c | diff 8f82f840ec6ab873f520364d443ff6fa1b3f8e22 Wed Jul 27 03:35:44 CEST 2011 Yongqiang Yang <xiaoqiangnk@gmail.com> ext4: prevent parallel resizers by atomic bit ops
Before this patch, parallel resizers are allowed and protected by a mutex lock, actually, there is no need to support parallel resizer, so this patch prevents parallel resizers by atmoic bit ops, like lock_page() and unlock_page() do.
To do this, the patch removed the mutex lock s_resize_lock from struct ext4_sb_info and added a unsigned long field named s_resize_flags which inidicates if there is a resizer.
Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
|
H A D | ext4.h | diff 8f82f840ec6ab873f520364d443ff6fa1b3f8e22 Wed Jul 27 03:35:44 CEST 2011 Yongqiang Yang <xiaoqiangnk@gmail.com> ext4: prevent parallel resizers by atomic bit ops
Before this patch, parallel resizers are allowed and protected by a mutex lock, actually, there is no need to support parallel resizer, so this patch prevents parallel resizers by atmoic bit ops, like lock_page() and unlock_page() do.
To do this, the patch removed the mutex lock s_resize_lock from struct ext4_sb_info and added a unsigned long field named s_resize_flags which inidicates if there is a resizer.
Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
|
H A D | super.c | diff 8f82f840ec6ab873f520364d443ff6fa1b3f8e22 Wed Jul 27 03:35:44 CEST 2011 Yongqiang Yang <xiaoqiangnk@gmail.com> ext4: prevent parallel resizers by atomic bit ops
Before this patch, parallel resizers are allowed and protected by a mutex lock, actually, there is no need to support parallel resizer, so this patch prevents parallel resizers by atmoic bit ops, like lock_page() and unlock_page() do.
To do this, the patch removed the mutex lock s_resize_lock from struct ext4_sb_info and added a unsigned long field named s_resize_flags which inidicates if there is a resizer.
Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
|