diff options
author | Christoph Hellwig <hch@lst.de> | 2022-09-15 11:42:00 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-09-20 16:24:38 +0200 |
commit | 118f3663fbc658e9ad6165e129076981c7b685c5 (patch) | |
tree | 89fc6031534b49b402bb655949d1c3b274a3082c /fs | |
parent | erofs: add manual PSI accounting for the compressed address space (diff) | |
download | linux-118f3663fbc658e9ad6165e129076981c7b685c5.tar.xz linux-118f3663fbc658e9ad6165e129076981c7b685c5.zip |
block: remove PSI accounting from the bio layer
PSI accounting is now done by the VM code, where it should have been
since the beginning.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Link: https://lore.kernel.org/r/20220915094200.139713-6-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/direct-io.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/direct-io.c b/fs/direct-io.c index f669163d5860..03d381377ae1 100644 --- a/fs/direct-io.c +++ b/fs/direct-io.c @@ -421,8 +421,6 @@ static inline void dio_bio_submit(struct dio *dio, struct dio_submit *sdio) unsigned long flags; bio->bi_private = dio; - /* don't account direct I/O as memory stall */ - bio_clear_flag(bio, BIO_WORKINGSET); spin_lock_irqsave(&dio->bio_lock, flags); dio->refcount++; |