diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-07 21:14:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-07 21:14:36 -0400 |
commit | 67a242223958d628f0ba33283668e3ddd192d057 (patch) | |
tree | a39e7039e9a2ef9ab46f8ba561175dbdc6101d11 /fs/gfs2 | |
parent | 8b35ad6232c462b02e397e87ce702bcddd4ba543 (diff) | |
parent | b8753433fc611e23e31300e1d099001a08955c88 (diff) |
Merge tag 'for-5.2/block-20190507' of git://git.kernel.dk/linux-block
Pull block updates from Jens Axboe:
"Nothing major in this series, just fixes and improvements all over the
map. This contains:
- Series of fixes for sed-opal (David, Jonas)
- Fixes and performance tweaks for BFQ (via Paolo)
- Set of fixes for bcache (via Coly)
- Set of fixes for md (via Song)
- Enabling multi-page for passthrough requests (Ming)
- Queue release fix series (Ming)
- Device notification improvements (Martin)
- Propagate underlying device rotational status in loop (Holger)
- Removal of mtip32xx trim support, which has been disabled for years
(Christoph)
- Improvement and cleanup of nvme command handling (Christoph)
- Add block SPDX tags (Christoph)
- Cleanup/hardening of bio/bvec iteration (Christoph)
- A few NVMe pull requests (Christoph)
- Removal of CONFIG_LBDAF (Christoph)
- Various little fixes here and there"
* tag 'for-5.2/block-20190507' of git://git.kernel.dk/linux-block: (164 commits)
block: fix mismerge in bvec_advance
block: don't drain in-progress dispatch in blk_cleanup_queue()
blk-mq: move cancel of hctx->run_work into blk_mq_hw_sysfs_release
blk-mq: always free hctx after request queue is freed
blk-mq: split blk_mq_alloc_and_init_hctx into two parts
blk-mq: free hw queue's resource in hctx's release handler
blk-mq: move cancel of requeue_work into blk_mq_release
blk-mq: grab .q_usage_counter when queuing request from plug code path
block: fix function name in comment
nvmet: protect discovery change log event list iteration
nvme: mark nvme_core_init and nvme_core_exit static
nvme: move command size checks to the core
nvme-fabrics: check more command sizes
nvme-pci: check more command sizes
nvme-pci: remove an unneeded variable initialization
nvme-pci: unquiesce admin queue on shutdown
nvme-pci: shutdown on timeout during deletion
nvme-pci: fix psdt field for single segment sgls
nvme-multipath: don't print ANA group state by default
nvme-multipath: split bios with the ns_head bio_set before submitting
...
Diffstat (limited to 'fs/gfs2')
-rw-r--r-- | fs/gfs2/Kconfig | 1 | ||||
-rw-r--r-- | fs/gfs2/lops.c | 3 | ||||
-rw-r--r-- | fs/gfs2/meta_io.c | 3 |
3 files changed, 2 insertions, 5 deletions
diff --git a/fs/gfs2/Kconfig b/fs/gfs2/Kconfig index 3ed2b088dcfd..6a1e499543f5 100644 --- a/fs/gfs2/Kconfig +++ b/fs/gfs2/Kconfig | |||
@@ -1,6 +1,5 @@ | |||
1 | config GFS2_FS | 1 | config GFS2_FS |
2 | tristate "GFS2 file system support" | 2 | tristate "GFS2 file system support" |
3 | depends on (64BIT || LBDAF) | ||
4 | select FS_POSIX_ACL | 3 | select FS_POSIX_ACL |
5 | select CRC32 | 4 | select CRC32 |
6 | select LIBCRC32C | 5 | select LIBCRC32C |
diff --git a/fs/gfs2/lops.c b/fs/gfs2/lops.c index 8722c60b11fe..6f09b5e3dd6e 100644 --- a/fs/gfs2/lops.c +++ b/fs/gfs2/lops.c | |||
@@ -207,7 +207,6 @@ static void gfs2_end_log_write(struct bio *bio) | |||
207 | struct gfs2_sbd *sdp = bio->bi_private; | 207 | struct gfs2_sbd *sdp = bio->bi_private; |
208 | struct bio_vec *bvec; | 208 | struct bio_vec *bvec; |
209 | struct page *page; | 209 | struct page *page; |
210 | int i; | ||
211 | struct bvec_iter_all iter_all; | 210 | struct bvec_iter_all iter_all; |
212 | 211 | ||
213 | if (bio->bi_status) { | 212 | if (bio->bi_status) { |
@@ -216,7 +215,7 @@ static void gfs2_end_log_write(struct bio *bio) | |||
216 | wake_up(&sdp->sd_logd_waitq); | 215 | wake_up(&sdp->sd_logd_waitq); |
217 | } | 216 | } |
218 | 217 | ||
219 | bio_for_each_segment_all(bvec, bio, i, iter_all) { | 218 | bio_for_each_segment_all(bvec, bio, iter_all) { |
220 | page = bvec->bv_page; | 219 | page = bvec->bv_page; |
221 | if (page_has_buffers(page)) | 220 | if (page_has_buffers(page)) |
222 | gfs2_end_log_write_bh(sdp, bvec, bio->bi_status); | 221 | gfs2_end_log_write_bh(sdp, bvec, bio->bi_status); |
diff --git a/fs/gfs2/meta_io.c b/fs/gfs2/meta_io.c index 3201342404a7..ff86e1d4f8ff 100644 --- a/fs/gfs2/meta_io.c +++ b/fs/gfs2/meta_io.c | |||
@@ -189,10 +189,9 @@ struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno) | |||
189 | static void gfs2_meta_read_endio(struct bio *bio) | 189 | static void gfs2_meta_read_endio(struct bio *bio) |
190 | { | 190 | { |
191 | struct bio_vec *bvec; | 191 | struct bio_vec *bvec; |
192 | int i; | ||
193 | struct bvec_iter_all iter_all; | 192 | struct bvec_iter_all iter_all; |
194 | 193 | ||
195 | bio_for_each_segment_all(bvec, bio, i, iter_all) { | 194 | bio_for_each_segment_all(bvec, bio, iter_all) { |
196 | struct page *page = bvec->bv_page; | 195 | struct page *page = bvec->bv_page; |
197 | struct buffer_head *bh = page_buffers(page); | 196 | struct buffer_head *bh = page_buffers(page); |
198 | unsigned int len = bvec->bv_len; | 197 | unsigned int len = bvec->bv_len; |