lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e7c95d49-d279-451c-9bd0-3f4009c7afcd@acm.org>
Date: Wed, 17 Jul 2024 09:23:19 -0700
From: Bart Van Assche <bvanassche@....org>
To: YangYang <yang.yang@...o.com>, Yu Kuai <yukuai1@...weicloud.com>
Cc: Jens Axboe <axboe@...nel.dk>, linux-block@...r.kernel.org,
 linux-kernel@...r.kernel.org, "yukuai (C)" <yukuai3@...wei.com>
Subject: Re: [PATCH] block: fix deadlock between sd_remove & sd_release

On 7/17/24 3:15 AM, YangYang wrote:
> These sysfs nodes are in different directories, the scsi node located
> at /sys/bus/scsi/devices/0:0:0:0 and the gendisk node located at
> /sys/block/sda. Would it be necessary to wait for the completion of
> the scsi sysfs nodes' read/write operations before removing the
> gendisk sysfs node?

No. sysfs_remove_files() waits for pending read and write operations to
complete.

Bart.


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ