| To: | mchristi@xxxxxxxxxx |
|---|---|
| Subject: | Re: [PATCH 34/35] block: add QUEUE_FLAGs for flush and fua |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Sat, 9 Jan 2016 00:04:26 -0800 |
| Cc: | linux-f2fs-devel@xxxxxxxxxxxxxxxxxxxxx, linux-ext4@xxxxxxxxxxxxxxx, konrad.wilk@xxxxxxxxxx, drbd-dev@xxxxxxxxxxxxxxxx, philipp.reisner@xxxxxxxxxx, lars.ellenberg@xxxxxxxxxx, linux-raid@xxxxxxxxxxxxxxx, dm-devel@xxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, linux-bcache@xxxxxxxxxxxxxxx, linux-block@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-scsi@xxxxxxxxxxxxxxx, linux-mtd@xxxxxxxxxxxxxxxxxxx, target-devel@xxxxxxxxxxxxxxx, linux-btrfs@xxxxxxxxxxxxxxx, osd-dev@xxxxxxxxxxxx, xfs@xxxxxxxxxxx, ocfs2-devel@xxxxxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1452027218-32303-35-git-send-email-mchristi@xxxxxxxxxx> |
| References: | <1452027218-32303-1-git-send-email-mchristi@xxxxxxxxxx> <1452027218-32303-35-git-send-email-mchristi@xxxxxxxxxx> |
| User-agent: | Mutt/1.5.23 (2014-03-12) |
On Tue, Jan 05, 2016 at 02:53:37PM -0600, mchristi@xxxxxxxxxx wrote: > From: Mike Christie <mchristi@xxxxxxxxxx> > > The last patch added a REQ_OP_FLUSH for request_fn drivers > and the next patch renames REQ_FLUSH to REQ_PREFLUSH which > will be used by file systems and make_request_fn drivers. > > This leaves REQ_FLUSH/REQ_FUA defined for drivers to tell > the block layer if flush/fua is supported. The names are > confusing and I bet will will accidentally be used by > people to request flushes. To avoid that, this patch adds > QUEUE_FLAGs for flush and fua which drivers will use to > indicate what they support. > > Signed-off-by: Mike Christie <mchristi@xxxxxxxxxx> Yes, this was rather confusing before. Looks great fix the fix for th kbuild complaint: Reviewed-by: Christoph Hellwig <hch@xxxxxx> |
| Previous by Date: | Re: [resend PATCH 1/3] block, fs: reliably communicate bdev end-of-life, Al Viro |
|---|---|
| Next by Date: | Re: [PATCH 57/76] xfs: allocate delayed extents in CoW fork, Darrick J. Wong |
| Previous by Thread: | Re: [PATCH 34/35] block: add QUEUE_FLAGs for flush and fua, kbuild test robot |
| Next by Thread: | [PATCH 35/35] block, drivers, fs: rename REQ_FLUSH to REQ_PREFLUSH, mchristi |
| Indexes: | [Date] [Thread] [Top] [All Lists] |