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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 28 Jan 2022 07:10:11 +0900 From: Ryusuke Konishi <konishi.ryusuke@...il.com> To: NeilBrown <neilb@...e.de> Cc: Andrew Morton <akpm@...ux-foundation.org>, Jaegeuk Kim <jaegeuk@...nel.org>, Chao Yu <chao@...nel.org>, Jeff Layton <jlayton@...nel.org>, Ilya Dryomov <idryomov@...il.com>, Miklos Szeredi <miklos@...redi.hu>, Trond Myklebust <trond.myklebust@...merspace.com>, Anna Schumaker <anna.schumaker@...app.com>, "Darrick J. Wong" <djwong@...nel.org>, Philipp Reisner <philipp.reisner@...bit.com>, Lars Ellenberg <lars.ellenberg@...bit.com>, Paolo Valente <paolo.valente@...aro.org>, Jens Axboe <axboe@...nel.dk>, Linux MM <linux-mm@...ck.org>, linux-nilfs <linux-nilfs@...r.kernel.org>, linux-nfs@...r.kernel.org, linux-fsdevel@...r.kernel.org, linux-f2fs-devel@...ts.sourceforge.net, linux-ext4@...r.kernel.org, ceph-devel@...r.kernel.org, drbd-dev@...ts.linbit.com, LKML <linux-kernel@...r.kernel.org>, linux-block@...r.kernel.org Subject: Re: [PATCH 2/9] Remove bdi_congested() and wb_congested() and related functions On Thu, Jan 27, 2022 at 11:47 AM NeilBrown <neilb@...e.de> wrote: > > These functions are no longer useful as the only bdis that report > congestion are in ceph, fuse, and nfs. None of those bdis can be the > target of the calls in drbd, ext2, nilfs2, or xfs. > > Removing the test on bdi_write_contested() in current_may_throttle() > could cause a small change in behaviour, but only when PF_LOCAL_THROTTLE > is set. > > So replace the calls by 'false' and simplify the code - and remove the > functions. > > Signed-off-by: NeilBrown <neilb@...e.de> > --- > drivers/block/drbd/drbd_int.h | 3 --- > drivers/block/drbd/drbd_req.c | 3 +-- > fs/ext2/ialloc.c | 2 -- > fs/nilfs2/segbuf.c | 11 ----------- > fs/xfs/xfs_buf.c | 3 --- > include/linux/backing-dev.h | 26 -------------------------- > mm/vmscan.c | 4 +--- > 7 files changed, 2 insertions(+), 50 deletions(-) for nilfs2 bits, Acked-by: Ryusuke Konishi <konishi.ryusuke@...il.com> Thanks, Ryusuke Konishi
Powered by blists - more mailing lists