Re: [PATCH][next] scsi: pm80xx: Fix potential infinite loop

2021-04-07 Thread Johannes Thumshirn
ization failure") AFAICS this still is in Martin's tree and not yet in Linus' tree. Anyways, looks good. Reviewed-by: Johannes Thumshirn

Re: [PATCH] scsi: lpfc: Remove unneeded return variable

2021-02-04 Thread Johannes Thumshirn
On 04/02/2021 08:37, Yang Li wrote: > This patch removes unneeded return variables, using only > '1' instead. > It fixes the following warning detected by coccinelle: > > Reported-by: Abaci Robot > Signed-off-by: Yang Li > --- > drivers/scsi/lpfc/lpfc_sli.c | 3 +-- > 1 file changed, 1

Re: [PATCH] scsi: qla4xxx: Remove unneeded return variable

2021-02-04 Thread Johannes Thumshirn
On 04/02/2021 08:20, Yang Li wrote: > This patch removes unneeded return variables, using only > '0' instead. > It fixes the following warning detected by coccinelle: > ./drivers/scsi/qla4xxx/ql4_os.c:3642:5-7: Unneeded variable: "rc". > Return "0" on line 3741 > > Reported-by: Abaci Robot >

Re: [PATCH] scsi: ipr: Remove unneeded return variable

2021-02-04 Thread Johannes Thumshirn
On 04/02/2021 08:28, Yang Li wrote: > This patch removes unneeded return variables, using only > '0' instead. > It fixes the following warning detected by coccinelle: > ./drivers/scsi/ipr.c:9508:5-7: Unneeded variable: "rc". Return "0" on > line 9524 > > Reported-by: Abaci Robot > Signed-off-by:

Re: [PATCH] nvme: reject the ns when the block size is smaller than a sector

2021-01-13 Thread Johannes Thumshirn
On 13/01/2021 17:07, Li Feng wrote: > The nvme spec(1.4a, figure 248) says: > "A value smaller than 9 (i.e., 512 bytes) is not supported." > > Signed-off-by: Li Feng > --- > drivers/nvme/host/core.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/nvme/host/core.c

Re: [PATCH] scsi: mpt3sas: Simplify _base_display_OEMs_branding

2021-01-12 Thread Johannes Thumshirn
On 12/01/2021 18:38, Joe Perches wrote: > static void > _base_display_OEMs_branding(struct MPT3SAS_ADAPTER *ioc) > { > + const char *b = NULL; /* brand */ > + const char *v = NULL; /* vendor */ Any reason you didn't spell out brand and vendor as the variable names?

Re: [PATCH v2] blk: avoid divide-by-zero with zero granularity

2021-01-12 Thread Johannes Thumshirn
On 12/01/2021 18:29, Feng Li wrote: > I use the nvme-tcp as the host, the target is spdk nvme-tcp target, > and set a wrong block size(i.g. bs=8), then the host prints this oops: I think the better fix here is to reject devices which report a block size small than a sector.

Re: [PATCH] Documentation: document dma device use for mcb

2021-01-12 Thread Johannes Thumshirn
On 11/01/2021 21:27, Jonathan Corbet wrote: > Sorry, I've been distracted by holidays, merge window, network issues, and > generally watching the news in horror. The patch is applied now, thanks. Thanks Jon

Re: [PATCH] Documentation: document dma device use for mcb

2021-01-11 Thread Johannes Thumshirn
On 18/12/2020 16:35, Johannes Thumshirn wrote: > Hannes reported a problem with setting up dma transfers on a mcb device. > The problem boiled down to the use of a wrong 'device' for the dma > functions. > > Document how to setup dma transfers for a IP core on a mcb carrier. Ping?

[PATCH] Documentation: document dma device use for mcb

2020-12-18 Thread Johannes Thumshirn
Hannes reported a problem with setting up dma transfers on a mcb device. The problem boiled down to the use of a wrong 'device' for the dma functions. Document how to setup dma transfers for a IP core on a mcb carrier. Reported-by: Hannes Duerr Signed-off-by: Johannes Thumshirn

Re: [RFC PATCH v3 1/2] block: add simple copy support

2020-12-11 Thread Johannes Thumshirn
On 11/12/2020 15:57, SelvaKumar S wrote: [...] > +int blk_copy_emulate(struct block_device *bdev, struct blk_copy_payload > *payload, > + gfp_t gfp_mask) > +{ > + struct request_queue *q = bdev_get_queue(bdev); > + struct bio *bio; > + void *buf = NULL; > + int i,

Re: [RFC PATCH v2 0/2] add simple copy support

2020-12-08 Thread Johannes Thumshirn
On 08/12/2020 14:13, Javier González wrote: > On 08.12.2020 12:37, Johannes Thumshirn wrote: >> On 08/12/2020 13:22, Javier González wrote: >>> Good idea. Are you thinking of a sysfs entry to select the backend? >> >> Not sure on this one, initially I thought of a sys

Re: [RFC PATCH v2 0/2] add simple copy support

2020-12-08 Thread Johannes Thumshirn
On 08/12/2020 13:22, Javier González wrote: > Good idea. Are you thinking of a sysfs entry to select the backend? Not sure on this one, initially I thought of a sysfs file, but then how would you do it. One "global" sysfs entry is probably a bad idea. Having one per block device to select native

Re: [RFC PATCH v2 0/2] add simple copy support

2020-12-08 Thread Johannes Thumshirn
On 07/12/2020 20:27, Javier González wrote: > Good point. We can share some performance data on how Simple Copy scales > in terms of bw / latency and the CPU usage. Do you have anything else in > mind? > With an emulation in the kernel, we could make the usd "backend" implementation

Re: [RFC PATCH 1/2] block: add simple copy support

2020-12-01 Thread Johannes Thumshirn
On 01/12/2020 08:14, SelvaKumar S wrote: > +static inline int bio_check_copy_eod(struct bio *bio, sector_t start, > + sector_t nr_sectors, sector_t maxsector) > +{ > + if (nr_sectors && maxsector && (nr_sectors > maxsector || > + start > maxsector -

Re: [PATCH RESEND] MAINTAINERS: Update maintainer entries for MEN HW

2020-10-27 Thread Johannes Thumshirn
On 03/06/2020 09:10, AGeissler wrote: > [resend; because of missing cc] > > Remove Andreas Werner as Maintainer of the F21 BMC driver, as he is no > longer with the company and add Andreas Geissler as additional > Maintainer for all MEN Hardware. > > Acked-by: Johann

Re: linux-next: Fixes tag needs some work in the btrfs-fixes tree

2020-10-26 Thread Johannes Thumshirn
On 26/10/2020 16:01, Stephen Rothwell wrote: > Hi all, > > In commit > > ae1a53ee21a5 ("btrfs: don't fallback to buffered read if we don't need to") > > Fixes tag > > Fixes: b5ff9f1a96e8f ("btrfs: switch to iomap for direct IO") > > has these problem(s): > > - Target SHA1 does not

Re: [PATCH 1/2] Block layer filter - second version

2020-10-21 Thread Johannes Thumshirn
On 21/10/2020 11:04, Sergei Shtepa wrote: > + help > + Enabling this lets third-party kernel modules intercept > + bio requests for any block device. This allows them to implement The "third-party kernel modules" part sounds a bit worrisome to me. Especially as this functionality

Re: [PATCH] blk: use REQ_OP_WRITE instead of hard code

2020-10-19 Thread Johannes Thumshirn
On 19/10/2020 16:30, 苏辉 wrote: > Yeah, you are right, thanks for your explanationMaybe we should > define a MASK to do this? Why? I personally find a '& 1' way more understandable than a REQ_OP_IS_WRITE_MASK or sth like that. The former I can just read, for the latter I would need to look up

Re: [PATCH] blk: use REQ_OP_WRITE instead of hard code

2020-10-19 Thread Johannes Thumshirn
On 19/10/2020 16:06, Hui Su wrote: > use REQ_OP_WRITE instead of hard code in > op_is_write(). > > Signed-off-by: Hui Su > --- > include/linux/blk_types.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h > index

Re: 回复: 回复: [PATCH] btrfs: Fix missing close devices

2020-09-23 Thread Johannes Thumshirn
On 23/09/2020 08:03, Zhang, Qiang wrote: > Hello Johannes Thumshirn > > the crash happend in "snprintf(s->s_id, sizeof(s->s_id), "%pg", bdev)" in > btrfs_mount_root func, the "bdev" may be destroyed in btrfs_close_devices. > I think add btrf

Re: [PATCH v3] null_blk: add support for max open/active zone limit for zoned devices

2020-09-23 Thread Johannes Thumshirn
On 17/09/2020 09:57, Niklas Cassel wrote: > On Mon, Sep 07, 2020 at 08:18:26AM +, Niklas Cassel wrote: >> On Fri, Aug 28, 2020 at 12:54:00PM +0200, Niklas Cassel wrote: >>> Add support for user space to set a max open zone and a max active zone >>> limit via configfs. By default, the default

Re: KASAN: stack-out-of-bounds Write in read_extent_buffer

2020-09-21 Thread Johannes Thumshirn
On 21/09/2020 16:32, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:860461e4 Add linux-next specific files for 20200917 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=141fc5d990 > kernel config:

Re: [PATCH] btrfs: Fix missing close devices

2020-09-21 Thread Johannes Thumshirn
On 21/09/2020 13:00, qiang.zh...@windriver.com wrote: > From: Zqiang > > When the btrfs fill super error, we should first close devices and > then call deactivate_locked_super func to free fs_info. > > Signed-off-by: Zqiang > --- > fs/btrfs/super.c | 1 + > 1 file changed, 1 insertion(+) > >

Re: 回复: [PATCH] btrfs: Fix missing close devices

2020-09-21 Thread Johannes Thumshirn
On 21/09/2020 11:14, Zhang, Qiang wrote: > > > ____ > 发件人: Johannes Thumshirn > 发送时间: 2020年9月21日 16:52 > 收件人: Zhang, Qiang; c...@fb.com; jo...@toxicpanda.com; dste...@suse.com > 抄送: linux-bt...@vger.kernel.org; linux-kernel@vger.kernel

Re: KASAN: use-after-free Read in btrfs_scan_one_device

2020-09-21 Thread Johannes Thumshirn
On 21/09/2020 07:38, syzbot wrote: > syzbot has found a reproducer for the following issue on: > > HEAD commit:325d0eab Merge branch 'akpm' (patches from Andrew) > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=1512df5390 > kernel config:

Re: [PATCH] btrfs: Fix missing close devices

2020-09-21 Thread Johannes Thumshirn
On 21/09/2020 10:27, qiang.zh...@windriver.com wrote: > From: Zqiang > > When the btrfs fill super error, we should first close devices and > then call deactivate_locked_super func to free fs_info. > > Signed-off-by: Zqiang > --- > fs/btrfs/super.c | 1 + > 1 file changed, 1 insertion(+) > >

Re: KASAN: use-after-free Read in btrfs_scan_one_device

2020-09-21 Thread Johannes Thumshirn
On 21/09/2020 07:38, syzbot wrote: > syzbot has found a reproducer for the following issue on: > > HEAD commit:325d0eab Merge branch 'akpm' (patches from Andrew) > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=1512df5390 > kernel config:

Re: WARNING in close_fs_devices (2)

2020-09-21 Thread Johannes Thumshirn
On 21/09/2020 09:58, Anand Jain wrote: > On 21/9/20 6:42 am, syzbot wrote: >> syzbot has found a reproducer for the following issue on: >> >> HEAD commit:b652d2a5 Add linux-next specific files for 20200918 >> git tree: linux-next >> console output:

Re: [PATCH 3/9] fs: explicitly check for CHECK_IOVEC_ONLY in rw_copy_check_uvector

2020-09-18 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 2/9] compat.h: fix a spelling error in

2020-09-18 Thread Johannes Thumshirn
On 18/09/2020 14:48, Christoph Hellwig wrote: > We only have not compat_sys_readv64v2 syscall, only a We have no?

Re: kernel BUG at lib/string.c:LINE! (5)

2020-09-16 Thread Johannes Thumshirn
On 16/09/2020 10:19, syzbot wrote: > syzbot has bisected this issue to: > > commit 3951e7f050ac6a38bbc859fc3cd6093890c31d1c > Author: Johannes Thumshirn > Date: Mon Oct 7 09:11:01 2019 + > > btrfs: add xxhash64 to checksumming algorithms >

Re: first bad commit: [5795eb443060148796beeba106e4366d7f1458a6] scsi: sd_zbc: emulate ZONE_APPEND commands

2020-09-12 Thread Johannes Thumshirn
On 12/09/2020 04:31, Damien Le Moal wrote: > On 2020/09/12 8:07, Borislav Petkov wrote: >> On Sat, Sep 12, 2020 at 12:17:59AM +0200, Borislav Petkov wrote: >>> Enabling it, fixes the issue. >> >> Btw, I just hit the below warn with 5.8, while booting with the above >> config option enabled. Looks

Re: first bad commit: [5795eb443060148796beeba106e4366d7f1458a6] scsi: sd_zbc: emulate ZONE_APPEND commands

2020-09-11 Thread Johannes Thumshirn
On 12/09/2020 00:22, Randy Dunlap wrote: > On 9/11/20 3:17 PM, Borislav Petkov wrote: >> On Fri, Sep 11, 2020 at 09:53:12PM +0200, Borislav Petkov wrote: >>> Now, looking at that patch: >>> >>> 5795eb443060 ("scsi: sd_zbc: emulate ZONE_APPEND commands") >>> >>> yeah, that doesn't revert cleanly.

Re: [PATCH -next] btrfs: Remove unused function calc_global_rsv_need_space()

2020-09-10 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH] block: Fix potential page reference leak in __bio_iov_append_get_pages()

2020-09-09 Thread Johannes Thumshirn
On 05/09/2020 11:41, Miaohe Lin wrote: > When bio_add_hw_page() failed, we left page reference still held in pages. I'd add "from iov_iter_get_pages()" to the above sentence. Otherwise Reviewed-by: Johannes Thumshirn

Re: [PATCH 04/19] floppy: use bdev_check_media_change

2020-09-09 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH v3] null_blk: add support for max open/active zone limit for zoned devices

2020-09-03 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 19/19] block: remove check_disk_change

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 18/19] sr: simplify sr_block_revalidate_disk

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 17/19] sr: use bdev_check_media_change

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 16/19] sd: use bdev_check_media_change

2020-09-02 Thread Johannes Thumshirn
On 02/09/2020 16:21, Christoph Hellwig wrote: > call cd_revalidate_disk manually. As sd also calls sd_revalidate_disk ^~ sd_revalidate_disk Otherwise, Reviewed-by: Johannes Thumshirn

Re: [PATCH 15/19] md: use bdev_check_media_change

2020-09-02 Thread Johannes Thumshirn
On 02/09/2020 16:16, Christoph Hellwig wrote: > The pcd driver does not have a ->revalidate_disk method, so it can just md ~^ Otherwise looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 13/19] ide-cd: remove idecd_revalidate_disk

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 12/19] ide-cd: use bdev_check_media_changed

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 11/19] gdrom: use bdev_check_media_change

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 10/19] paride/pcd: use bdev_check_media_change

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 08/19] xsysace: use bdev_check_media_change

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 07/19] swim3: use bdev_check_media_changed

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 02/19] amiflop: use bdev_check_media_change

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 06/19] swim: simplify media change handling

2020-09-02 Thread Johannes Thumshirn
And down by one, Reviewed-by: Johannes Thumshirn

Re: [PATCH 05/19] swim: use bdev_check_media_change

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn > +static int floppy_revalidate(struct gendisk *disk); Completely unrelated to this series but, this is the 3rd floppy driver in the series defining it's own floppy_revalidate() and naming it floppy_revalidate(). This makes grepping and review

Re: [PATCH 04/19] floppy: use bdev_check_media_change

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 03/19] ataflop: use bdev_check_media_change

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 01/19] block: add a bdev_check_media_change helper

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 9/9] block: remove revalidate_disk()

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 6/9] nvme: opencode revalidate_disk in nvme_validate_ns

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 7/9] sd: open code revalidate_disk

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 5/9] block: use revalidate_disk_size in set_capacity_revalidate_and_notify

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 1/9] Documentation/filesystems/locking.rst: remove an incorrect sentence

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 3/9] block: rename bd_invalidated

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 4/9] block: add a new revalidate_disk_size helper

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH] block: tolerate 0 byte discard_granularity in __blkdev_issue_discard()

2020-08-04 Thread Johannes Thumshirn
On 04/08/2020 16:45, Coly Li wrote: > Yes, Ming just posts a patch with a very similar change to loop device > driver. Ah ok. I'll go and have a look at Ming's patch then.

Re: [PATCH] block: tolerate 0 byte discard_granularity in __blkdev_issue_discard()

2020-08-04 Thread Johannes Thumshirn
On 04/08/2020 16:23, Coly Li wrote: > This is the procedure to reproduce the panic, > # modprobe scsi_debug delay=0 dev_size_mb=2048 max_queue=1 > # losetup -f /dev/nvme0n1 --direct-io=on > # blkdiscard /dev/loop0 -o 0 -l 0x200 losetup -f /dev/sdX isn't it?

Re: [PATCH] block: tolerate 0 byte discard_granularity in __blkdev_issue_discard()

2020-08-04 Thread Johannes Thumshirn
On 04/08/2020 16:37, Johannes Thumshirn wrote: > On 04/08/2020 16:34, Coly Li wrote: >> On 2020/8/4 22:31, Johannes Thumshirn wrote: >>> On 04/08/2020 16:23, Coly Li wrote: >>>> This is the procedure to reproduce the panic, >>>> # modprobe scsi_

Re: [PATCH] block: tolerate 0 byte discard_granularity in __blkdev_issue_discard()

2020-08-04 Thread Johannes Thumshirn
On 04/08/2020 16:34, Coly Li wrote: > On 2020/8/4 22:31, Johannes Thumshirn wrote: >> On 04/08/2020 16:23, Coly Li wrote: >>> This is the procedure to reproduce the panic, >>> # modprobe scsi_debug delay=0 dev_size_mb=2048 max_queue=1 >>> #

Re: [PATCH 14/14] bdi: replace BDI_CAP_NO_{WRITEBACK,ACCT_DIRTY} with a single flag

2020-07-28 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 12/14] bdi: replace BDI_CAP_STABLE_WRITES with a queue and a sb flag

2020-07-28 Thread Johannes Thumshirn
Reviewed-by: Johannes Thumshirn

Re: [PATCH 13/14] bdi: invert BDI_CAP_NO_ACCT_WB

2020-07-28 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 11/14] mm: use SWP_SYNCHRONOUS_IO more intelligently

2020-07-28 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 10/14] bdi: remove BDI_CAP_SYNCHRONOUS_IO

2020-07-28 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 06/14] block: lift setting the readahead size into the block layer

2020-07-28 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 05/14] md: update the optimal I/O size on reshape

2020-07-28 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 04/14] bdi: initialize ->ra_pages in bdi_init

2020-07-28 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 02/14] drbd: remove dead code in device_to_statistics

2020-07-28 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 09/14] bdi: remove BDI_CAP_CGROUP_WRITEBACK

2020-07-22 Thread Johannes Thumshirn
On 22/07/2020 08:27, Christoph Hellwig wrote: > it is know to support cgroup writeback, or the bdi comes from the block knwon ~^ Apart from that, Reviewed-by: Johannes Thumshirn

Re: [PATCH 08/14] block: add helper macros for queue sysfs entries

2020-07-22 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 07/14] block: make QUEUE_SYSFS_BIT_FNS a little more useful

2020-07-22 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 02/14] drbd: remove dead code in device_to_statistics

2020-07-22 Thread Johannes Thumshirn
On 22/07/2020 09:07, Christoph Hellwig wrote: > As far as I can tell this is a netlink user ABI. > I guess it has to stay then

Re: [PATCH 06/14] block: lift setting the readahead size into the block layer

2020-07-22 Thread Johannes Thumshirn
On 22/07/2020 08:27, Christoph Hellwig wrote: > + q->backing_dev_info->ra_pages = > + max(queue_io_opt(q) * 2 / PAGE_SIZE, VM_READAHEAD_PAGES); Dumb question, wouldn't a '>> PAGE_SHIFT' be better instead of a potentially costly division? Or aren't we caring at all as it's a) not

Re: [PATCH 03/14] drbd: remove RB_CONGESTED_REMOTE

2020-07-22 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 02/14] drbd: remove dead code in device_to_statistics

2020-07-22 Thread Johannes Thumshirn
On 22/07/2020 08:28, Christoph Hellwig wrote: > Ever since the switch to blk-mq, a lower device not use by VM in-use/used? ~^ Also this looks like the last user of 'dev_lower_blocked' so it could be removed from device_statistics if it's not an ABI (not

Re: [PATCH 01/14] fs: remove the unused SB_I_MULTIROOT flag

2020-07-22 Thread Johannes Thumshirn
A little bit of git archeology shows the last user of SB_I_MULTIROOT is gone with f2aedb713c28 ("NFS: Add fs_context support.") Reviewed-by: Johannes Thumshirn

Re: [PATCH v3 1/2] block: change REQ_OP_ZONE_RESET and REQ_OP_ZONE_RESET_ALL to be odd numbers

2020-07-17 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH v3 2/2] block: add max_active_zones to blk-sysfs

2020-07-15 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH v3 1/2] block: add max_open_zones to blk-sysfs

2020-07-15 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH -next] scsi: sd_zbc: Remove unused inline functions

2020-07-15 Thread Johannes Thumshirn
s(struct scsi_disk *sdkp, > Woops that looks like some leftover from development. My bad. Reviewed-by: Johannes Thumshirn

Re: [PATCH 13/30] scsi: libfc: fc_rport: Fix bitrotted function parameter and copy/paste error

2020-07-08 Thread Johannes Thumshirn
On 08/07/2020 14:04, Lee Jones wrote: > Description should state 'remote' port, not 'local'. > > Fixes the following W=1 kernel build warning(s): > > drivers/scsi/libfc/fc_rport.c:1452: warning: Function parameter or member > 'rdata_arg' not described in 'fc_rport_logo_resp' >

Re: [PATCH 11/30] scsi: libfc: fc_rport: Fix a couple of misdocumented function parameters

2020-07-08 Thread Johannes Thumshirn
On 08/07/2020 14:04, Lee Jones wrote: > @@ -1445,7 +1445,7 @@ static void fc_rport_recv_rtv_req(struct fc_rport_priv > *rdata, > * fc_rport_logo_resp() - Handler for logout (LOGO) responses > * @sp: The sequence the LOGO was on > * @fp: The LOGO response frame > - *

Re: [PATCH 03/30] scsi: libfc: fc_disc: trivial: Fix spelling mistake of 'discovery'

2020-07-08 Thread Johannes Thumshirn
On 08/07/2020 14:12, Lee Jones wrote: > Obviously I'd be okay with that, but it will depend on whether his > tree is able to be rebased. Many public trees are unrebasable (if > that's a word). Yeah but in this early stage SCSI usually is re-baseable.

Re: [PATCH 03/30] scsi: libfc: fc_disc: trivial: Fix spelling mistake of 'discovery'

2020-07-08 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn I think Martin can fold this one into the original one

Re: [PATCH 09/10] scsi: libfc: fc_disc: Fix-up some incorrectly referenced function parameters

2020-07-08 Thread Johannes Thumshirn
On 07/07/2020 16:01, Lee Jones wrote: > + * @disc: The descovery context s/descovery/discovery

Re: [PATCH v2 1/2] block: add max_open_zones to blk-sysfs

2020-07-03 Thread Johannes Thumshirn
On 03/07/2020 14:09, Johannes Thumshirn wrote: > On 03/07/2020 11:23, Niklas Cassel wrote: >> On Fri, Jul 03, 2020 at 08:22:45AM +, Johannes Thumshirn wrote: >>> On 02/07/2020 20:20, Niklas Cassel wrote: >>>> Documentation/block/queue-sysfs.rst | 7 +

Re: [PATCH 2/2] block: enable zone-append for iov_iter of bvec type

2020-07-03 Thread Johannes Thumshirn
On 03/07/2020 08:56, Kanchan Joshi wrote: [...] > Yes, zonefs does not use bvec iter. But while enabling io-uring path for > zone-append, I hit into this condition returning -EINVAL. > > Reference (from user zone-append series cover letter): > "Append using io_uring fixed-buffer ---> > This is

Re: [PATCH v2 1/2] block: add max_open_zones to blk-sysfs

2020-07-03 Thread Johannes Thumshirn
On 03/07/2020 11:23, Niklas Cassel wrote: > On Fri, Jul 03, 2020 at 08:22:45AM +0000, Johannes Thumshirn wrote: >> On 02/07/2020 20:20, Niklas Cassel wrote: >>> Documentation/block/queue-sysfs.rst | 7 +++ >>> block/blk-sysfs.c | 15 +++

Re: [PATCH v2 1/2] block: add max_open_zones to blk-sysfs

2020-07-03 Thread Johannes Thumshirn
On 02/07/2020 20:20, Niklas Cassel wrote: > Documentation/block/queue-sysfs.rst | 7 +++ > block/blk-sysfs.c | 15 +++ > drivers/nvme/host/zns.c | 1 + > drivers/scsi/sd_zbc.c | 4 > include/linux/blkdev.h | 16

Re: [PATCH 7/7] block: remove the all_bdevs list

2020-07-01 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 6/7] block: remove the unused bd_private field from struct block_device

2020-07-01 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 5/7] block: remove the bd_queue field from struct block_device

2020-07-01 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 4/7] block: remove the bd_block_size field from struct block_device

2020-07-01 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

  1   2   3   4   5   6   7   8   9   10   >