diff options
author | Jani Nikula <jani.nikula@intel.com> | 2021-04-08 10:22:14 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2021-04-08 10:22:14 +0300 |
commit | d527353e4bceae6d59606ad21ad00916401d22ad (patch) | |
tree | 8ad569177aa89f15dcc485ee31d671cc98344ba8 /fs/f2fs/segment.h | |
parent | 70bfb30743d5da73058b0a2271e9c127a84fb494 (diff) | |
parent | 9c0fed84d5750e1eea6c664e073ffa2534a17743 (diff) |
Merge drm/drm-next into drm-intel-next
Sync up with topic/i915-gem-next and drm-intel-gt-next.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'fs/f2fs/segment.h')
-rw-r--r-- | fs/f2fs/segment.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/segment.h b/fs/f2fs/segment.h index 229814b4f4a6..e9a7a637d688 100644 --- a/fs/f2fs/segment.h +++ b/fs/f2fs/segment.h @@ -851,7 +851,7 @@ static inline int nr_pages_to_skip(struct f2fs_sb_info *sbi, int type) else if (type == NODE) return 8 * sbi->blocks_per_seg; else if (type == META) - return 8 * BIO_MAX_PAGES; + return 8 * BIO_MAX_VECS; else return 0; } @@ -868,7 +868,7 @@ static inline long nr_pages_to_write(struct f2fs_sb_info *sbi, int type, return 0; nr_to_write = wbc->nr_to_write; - desired = BIO_MAX_PAGES; + desired = BIO_MAX_VECS; if (type == NODE) desired <<= 1; |