diff options
author | Christoph Hellwig <hch@lst.de> | 2022-09-15 12:42:00 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-09-20 17:24:38 +0300 |
commit | 118f3663fbc658e9ad6165e129076981c7b685c5 (patch) | |
tree | 89fc6031534b49b402bb655949d1c3b274a3082c /fs/direct-io.c | |
parent | 99486c511f686c799bb4e60b79d79808bb9440f4 (diff) | |
download | linux-118f3663fbc658e9ad6165e129076981c7b685c5.tar.xz |
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/direct-io.c')
-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++; |