From: "Aurélien Aptel" <aaptel@suse.de>
To: Samuel Cabrero <scabrero@suse.de>, linux-cifs@vger.kernel.org
Cc: Samuel Cabrero <scabrero@suse.de>
Subject: Re: [PATCH 04/11] cifs: add witness mount option and data structs
Date: Fri, 23 Oct 2020 11:19:40 +0200 [thread overview]
Message-ID: <87lffxuwnn.fsf@suse.com> (raw)
In-Reply-To: <20201022181339.30771-5-scabrero@suse.de>
Samuel Cabrero <scabrero@suse.de> writes:
> diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
> index 8111d0109a2e..c2bbc444b463 100644
> --- a/fs/cifs/cifsfs.c
> +++ b/fs/cifs/cifsfs.c
> @@ -637,6 +637,11 @@ cifs_show_options(struct seq_file *s, struct dentry *root)
> seq_printf(s, ",multichannel,max_channels=%zu",
> tcon->ses->chan_max);
>
> +#ifdef CONFIG_CIFS_SWN_UPCALL
> + if (tcon->use_witness)
> + seq_puts(s, ",witness");
> +#endif
> +
You should print it in cifs_debug_tcon() and print the KConfig option in
cifs_debug_data_proc_show().
--
Aurélien Aptel / SUSE Labs Samba Team
GPG: 1839 CB5F 9F5B FB9B AA97 8C99 03C8 A49B 521B D5D3
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg, DE
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 247165 (AG München)
next prev parent reply other threads:[~2020-10-23 9:19 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-22 18:13 [PATCH 00/11] Witness protocol support for transparent failover Samuel Cabrero
2020-10-22 18:13 ` [PATCH 01/11] cifs: Make extract_hostname function public Samuel Cabrero
2020-10-23 8:54 ` Aurélien Aptel
2020-10-22 18:13 ` [PATCH 02/11] cifs: Make extract_sharename " Samuel Cabrero
2020-10-23 8:54 ` Aurélien Aptel
2020-10-22 18:13 ` [PATCH 03/11] cifs: Register generic netlink family Samuel Cabrero
2020-10-22 19:23 ` kernel test robot
2020-10-22 20:12 ` kernel test robot
2020-10-23 9:58 ` Aurélien Aptel
2020-10-22 18:13 ` [PATCH 04/11] cifs: add witness mount option and data structs Samuel Cabrero
2020-10-23 9:19 ` Aurélien Aptel [this message]
2020-10-22 18:13 ` [PATCH 05/11] cifs: Send witness register and unregister commands to userspace daemon Samuel Cabrero
2020-10-22 18:13 ` [PATCH 06/11] cifs: Set witness notification handler for messages from " Samuel Cabrero
2020-10-22 18:13 ` [PATCH 07/11] cifs: Add witness information to debug data dump Samuel Cabrero
2020-10-22 18:13 ` [PATCH 08/11] cifs: Send witness register messages to userspace daemon in echo task Samuel Cabrero
2020-10-22 18:13 ` [PATCH 09/11] cifs: Simplify reconnect code when dfs upcall is enabled Samuel Cabrero
2020-10-22 18:13 ` [PATCH 10/11] cifs: Handle witness client move notification Samuel Cabrero
2020-10-22 18:13 ` [PATCH 11/11] cifs: Handle witness share moved notification Samuel Cabrero
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lffxuwnn.fsf@suse.com \
--to=aaptel@suse.de \
--cc=linux-cifs@vger.kernel.org \
--cc=scabrero@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox