From: 李佳铭 <lijiaming3@xiaomi.com>
To: Avri Altman <Avri.Altman@wdc.com>,
Jiaming Li <lijiamingsofine@gmail.com>,
"alim.akhtar@samsung.com" <alim.akhtar@samsung.com>,
"jejb@linux.ibm.com" <jejb@linux.ibm.com>
Cc: "linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: 答复: [External Mail]RE: [PATCH] scsi: ufs: ufsfbo: Introduce File Based Optimization feature
Date: Thu, 25 Aug 2022 12:10:18 +0000 [thread overview]
Message-ID: <8500789bbd0b4a5b8452ee15d8530a32@xiaomi.com> (raw)
In-Reply-To: <DM6PR04MB657511C55B06E40552C03378FC729@DM6PR04MB6575.namprd04.prod.outlook.com>
Dear Avri
Thanks for your review. I will modify it according to your suggestion.
After the modification, I will try to submit it to Mainline. Therefore,
this patch can be ignored, How do I delete it on:
https://patchwork.kernel.org/project/linux-scsi/list/ ?
Thanks
-----邮件原件-----
发件人: Avri Altman <Avri.Altman@wdc.com>
发送时间: 2022年8月25日 16:57
收件人: Jiaming Li <lijiamingsofine@gmail.com>; alim.akhtar@samsung.com; jejb@linux.ibm.com
抄送: linux-scsi@vger.kernel.org; linux-kernel@vger.kernel.org; 李佳铭 <lijiaming3@xiaomi.com>
主题: [External Mail]RE: [PATCH] scsi: ufs: ufsfbo: Introduce File Based Optimization feature
[外部邮件] 此邮件来源于小米公司外部,请谨慎处理。
> +
> +/* SYSFS DEFINE */
> +#define define_sysfs_ro(_name) __ATTR(_name, 0444, \
> + ufsfbo_sysfs_show_##_name, NULL)
> +#define define_sysfs_wo(_name) __ATTR(_name, 0200, \
> + NULL, ufsfbo_sysfs_store_##_name)
> +#define define_sysfs_rw(_name) __ATTR(_name, 0644, \
> + ufsfbo_sysfs_show_##_name, \
> + ufsfbo_sysfs_store_##_name)
> +static struct ufsfbo_sysfs_entry ufsfbo_sysfs_entries[] = {
> + define_sysfs_ro(fbo_rec_lrs),
> + define_sysfs_ro(fbo_max_lrs),
> + define_sysfs_ro(fbo_min_lrs),
> + define_sysfs_ro(fbo_max_lrc),
> + define_sysfs_ro(fbo_lra),
> + define_sysfs_ro(fbo_prog_state),
> + define_sysfs_ro(fbo_get_lr_frag_level),
> + define_sysfs_ro(fbo_support),
> + define_sysfs_ro(fbo_version),
> + define_sysfs_wo(fbo_operation_control),
> + define_sysfs_wo(fbo_send_lr_list),
> + define_sysfs_rw(fbo_exe_threshold),
> + define_sysfs_rw(fbo_wholefile_enable),
> + /* debug */
> + define_sysfs_rw(debug),
> + /* Attribute (RAW) */
> + define_sysfs_rw(block_suspend),
> + define_sysfs_rw(auto_hibern8_enable),
> + __ATTR_NULL
> +};
Lets stick to the _store / _show naming conventions - people rely on that when they are grepping the code.
Also, you need to document the ABI.
Thanks,
Avri
#/******本邮件及其附件含有小米公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件! This e-mail and its attachments contain confidential information from XIAOMI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!******/#
next prev parent reply other threads:[~2022-08-25 12:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-24 8:46 [PATCH] scsi: ufs: ufsfbo: Introduce File Based Optimization feature Jiaming Li
2022-08-24 14:16 ` Bean Huo
2022-08-24 15:26 ` 答复: [External Mail]Re: " 李佳铭
2022-08-24 16:17 ` Bean Huo
2022-08-24 16:40 ` Bart Van Assche
2022-08-24 16:35 ` Bart Van Assche
2022-08-25 8:42 ` Avri Altman
2022-08-25 8:56 ` Avri Altman
2022-08-25 12:10 ` 李佳铭 [this message]
2022-08-25 12:16 ` [External Mail]RE: " Avri Altman
2022-08-26 22:00 ` Bart Van Assche
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=8500789bbd0b4a5b8452ee15d8530a32@xiaomi.com \
--to=lijiaming3@xiaomi.com \
--cc=Avri.Altman@wdc.com \
--cc=alim.akhtar@samsung.com \
--cc=jejb@linux.ibm.com \
--cc=lijiamingsofine@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
/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