Lines Matching defs:writeback

27 #include <linux/writeback.h>
175 unsigned int writeback;
568 * If there are a lot of dirty/writeback folios then do not
570 * towards the end of the LRU if still under writeback.
604 * short. Failing to make progress or waiting on writeback are
607 * writeback to a slow device to excessive referenced folios at the tail
667 * writeback throttled, it is not worth taking the penalty
699 * We no longer attempt to writeback filesystem folios here, other
700 * than tmpfs/shmem. That's taken care of in page-writeback.
879 * If the folio is dirty, under writeback or if someone else has a ref
1038 /* Check if a folio is dirty or under writeback */
1040 bool *dirty, bool *writeback)
1053 *writeback = false;
1059 *writeback = folio_test_writeback(folio);
1061 /* Verify dirty/writeback state if the filesystem supports it */
1067 mapping->a_ops->is_dirty_writeback(folio, dirty, writeback);
1185 bool dirty, writeback;
1229 folio_check_dirty_writeback(folio, &dirty, &writeback);
1230 if (dirty || writeback)
1233 if (dirty && !writeback)
1242 if (writeback && folio_test_reclaim(folio))
1246 * If a folio at the tail of the LRU is under writeback, there
1250 * of folios under writeback and this folio has both
1251 * the writeback and reclaim flags set, then it
1255 * indefinite stall if it is impossible to writeback
1265 * waiting on writeback during reclaim may lead to a deadlock.
1279 * folios are in writeback and there is nothing else to
1280 * reclaim. Wait for the writeback to complete.
1317 * so it will then wait for writeback to
1511 * If shmem folio is split when writeback to swap,
2083 * which are in writeback to finish (see shrink_folio_list()).
2085 * Flusher may not be able to issue writeback quickly
2086 * enough for cgroupv1 writeback throttling to work
2095 sc->nr.writeback += stat->nr_writeback;
6505 * If reclaim is isolating dirty pages under writeback,
6521 if (sc->nr.writeback && sc->nr.writeback == sc->nr.taken)
6526 * reclaim and under writeback (nr_immediate), it
6529 * until some pages complete writeback.
6537 * for writeback and immediate reclaim (counted in nr.congested).
6539 * Legacy memcg will stall in page writeback so avoid forcibly
6630 * under writeback and marked for immediate reclaim at the tail of the
6743 * high - the zone may be full of dirty or under-writeback pages, which this
6744 * caller can't do much about. We kick the writeback threads and take explicit
7193 /* Clear pgdat state for congested, dirty or under writeback. */
7245 * reclaim or if the lack of progress was due to pages under writeback.
7409 /* Limit the priority of boosting to avoid reclaim writeback */
7414 * Do not writeback or swap pages for boosted reclaim. The