Message ID | 20201109154327.325675-1-ganqixin@huawei.com (mailing list archive) |
---|---|
Headers | show |
Series | Use lock guard macros in block | expand |
Did this fall through the cracks? Gan Qixin <ganqixin@huawei.com> writes: > Hi all, > I saw some tasks to replace manual lock()/unlock() calls with lock guard macros in BiteSizedTasks. > I am very interested in this and modified some of the files under block. Could someone help me check the code? > > Thanks, > Gan Qixin > > Gan Qixin (4): > block/accounting.c: Use lock guard macros > block/curl.c: Use lock guard macros > block/throttle-groups.c: Use lock guard macros > block/iscsi.c: Use lock guard macros > > block/accounting.c | 32 +++++++++++++-------------- > block/curl.c | 28 ++++++++++++------------ > block/iscsi.c | 28 +++++++++++------------- > block/throttle-groups.c | 48 ++++++++++++++++++++--------------------- > 4 files changed, 65 insertions(+), 71 deletions(-)
On 02/12/20 10:22, Markus Armbruster wrote: > Did this fall through the cracks? > > Gan Qixin <ganqixin@huawei.com> writes: > >> Hi all, >> I saw some tasks to replace manual lock()/unlock() calls with lock guard macros in BiteSizedTasks. >> I am very interested in this and modified some of the files under block. Could someone help me check the code? >> >> Thanks, >> Gan Qixin >> >> Gan Qixin (4): >> block/accounting.c: Use lock guard macros >> block/curl.c: Use lock guard macros >> block/throttle-groups.c: Use lock guard macros >> block/iscsi.c: Use lock guard macros >> >> block/accounting.c | 32 +++++++++++++-------------- >> block/curl.c | 28 ++++++++++++------------ >> block/iscsi.c | 28 +++++++++++------------- >> block/throttle-groups.c | 48 ++++++++++++++++++++--------------------- >> 4 files changed, 65 insertions(+), 71 deletions(-) > Yes, it did. Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Paolo