From: Sergei Shtylyov <sshtylyov@mvista.com>
To: Namjae Jeon <linkinjeon@gmail.com>
Cc: James.Bottomley@hansenpartnership.com,
gregkh@linuxfoundation.org, mdharm-usb@one-eyed-alien.net,
stern@rowland.harvard.edu, bvanassche@acm.org,
linux-usb@vger.kernel.org, linux-scsi@vger.kernel.org,
linux-kernel@vger.kernel.org,
Namjae Jeon <namjae.jeon@samsung.com>,
Pankaj Kumar <pankaj.km@samsung.com>,
Amit Sahrawat <a.sahrawat@samsung.com>
Subject: Re: [PATCH v3 2/4] usb: storage: add support for write cache quirk on usb hdd
Date: Mon, 11 Jun 2012 21:11:29 +0400 [thread overview]
Message-ID: <4FD626C1.1010507@mvista.com> (raw)
In-Reply-To: <CAKYAXd9EUqxUBw1YWr2FnBrg1K=uGWiaEFYtSgu-J3nZ9sLvuQ@mail.gmail.com>
Hello.
On 10-06-2012 4:30, Namjae Jeon wrote:
>>> Add support for write cache quirk on usb hdd. scsi driver will be set to
>>> wce
>>> by detecting write cache quirk in quirk list when plugging usb hdd.
>>> Signed-off-by: Namjae Jeon<namjae.jeon@samsung.com>
>>> Signed-off-by: Pankaj Kumar<pankaj.km@samsung.com>
>>> Signed-off-by: Amit Sahrawat<a.sahrawat@samsung.com>
>>> ---
>>> drivers/usb/storage/scsiglue.c | 5 +++++
>>> drivers/usb/storage/usb.c | 5 ++++-
>>> include/linux/usb_usual.h | 4 +++-
>>> 3 files changed, 12 insertions(+), 2 deletions(-)
>>> diff --git a/drivers/usb/storage/scsiglue.c
>>> b/drivers/usb/storage/scsiglue.c
>>> index a324a5d..fe42547 100644
>>> --- a/drivers/usb/storage/scsiglue.c
>>> +++ b/drivers/usb/storage/scsiglue.c
>> [...]
>>> @@ -529,6 +529,9 @@ static void adjust_quirks(struct us_data *us)
>>> case 'o':
>>> f |= US_FL_CAPACITY_OK;
>>> break;
>>> + case 'p':
>>> + f |= US_FL_WRITE_CACHE;
>>> + break;
>>> case 'r':
>>> f |= US_FL_IGNORE_RESIDUE;
>>> break;
>>
>> You probably should unite this chunk with the documentation update
>> patch.
> Hi Sergei.
> I tried to post documentation update patch(4/4) for this chunk.
> Do I misunderstand ?
I mean that the documenation should be updated in the same patch where you
add the new value.
WBR, Sergei
next prev parent reply other threads:[~2012-06-11 17:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-09 17:41 [PATCH v3 2/4] usb: storage: add support for write cache quirk on usb hdd Namjae Jeon
2012-06-09 18:42 ` Sergei Shtylyov
2012-06-10 0:30 ` Namjae Jeon
2012-06-11 17:11 ` Sergei Shtylyov [this message]
2012-06-11 22:50 ` Namjae Jeon
-- strict thread matches above, loose matches on Subject: below --
2012-06-10 1:30 Namjae Jeon
2012-06-10 17:36 ` Alan Stern
2012-06-10 23:30 ` Namjae Jeon
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=4FD626C1.1010507@mvista.com \
--to=sshtylyov@mvista.com \
--cc=James.Bottomley@hansenpartnership.com \
--cc=a.sahrawat@samsung.com \
--cc=bvanassche@acm.org \
--cc=gregkh@linuxfoundation.org \
--cc=linkinjeon@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mdharm-usb@one-eyed-alien.net \
--cc=namjae.jeon@samsung.com \
--cc=pankaj.km@samsung.com \
--cc=stern@rowland.harvard.edu \
/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