xfs
[Top] [All Lists]

Re: [PATCH 00/35 v3] eparate operations from flags in the bio/request st

To: mchristi@xxxxxxxxxx
Subject: Re: [PATCH 00/35 v3] eparate operations from flags in the bio/request structs
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Mon, 18 Jan 2016 10:15:47 -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: <1452543693-4440-1-git-send-email-mchristi@xxxxxxxxxx>
References: <1452543693-4440-1-git-send-email-mchristi@xxxxxxxxxx>
User-agent: Mutt/1.5.24 (2015-08-30)
The whole sries looks fine to me:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>

There are a few pieces of future work on top of this I'd rather see
sooner than later though:

 - use REQ_OP_FLUSH for all empty flushes, including those at the bio
   level.
 - merge the req->cmd_type values into req->op.  Right now that's
   basically only a new REQ_OP_BLOCK_PC (or better REQ_OP_SCSI while
   we're at it) and a REQ_OP_DRV_PRIV as the last value.
 - drop as many of the crazy defines based on REQ_* in fs.h (e.g.
   (READ_SYNC, WRITE_SYNC, WRITE_ODIRECT, WRITE_FLUSH, WRITE_FUA,
   WRITE_FLUSH_FUA, RW_MASK, RWA_MASK)

<Prev in Thread] Current Thread [Next in Thread>