diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-05-28 18:02:38 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:03 -0400 |
commit | 19c304bebda4d8815a20c8d3330459a112c329f6 (patch) | |
tree | e538d74c93551d659429fb64868f9c16ea742c43 /fs/bcachefs/journal_reclaim.c | |
parent | e1d29c5fa1205c75dd96303f76d7aa4991555aaa (diff) | |
download | linux-stable-19c304bebda4d8815a20c8d3330459a112c329f6.tar.gz linux-stable-19c304bebda4d8815a20c8d3330459a112c329f6.tar.bz2 linux-stable-19c304bebda4d8815a20c8d3330459a112c329f6.zip |
bcachefs: GFP_NOIO -> GFP_NOFS
GFP_NOIO dates from the bcache days, when we operated under the block
layer. Now, GFP_NOFS is more appropriate, so switch all GFP_NOIO uses to
GFP_NOFS.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/journal_reclaim.c')
-rw-r--r-- | fs/bcachefs/journal_reclaim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/journal_reclaim.c b/fs/bcachefs/journal_reclaim.c index 29d843e6d6d4..2c7f8aca9319 100644 --- a/fs/bcachefs/journal_reclaim.c +++ b/fs/bcachefs/journal_reclaim.c @@ -271,7 +271,7 @@ void bch2_journal_do_discards(struct journal *j) blkdev_issue_discard(ca->disk_sb.bdev, bucket_to_sector(ca, ja->buckets[ja->discard_idx]), - ca->mi.bucket_size, GFP_NOIO); + ca->mi.bucket_size, GFP_NOFS); spin_lock(&j->lock); ja->discard_idx = (ja->discard_idx + 1) % ja->nr; |