| To: | 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 |
|---|---|
| Subject: | [PATCH 00/35 v2] separate operations from flags in the bio/request structs |
| From: | mchristi@xxxxxxxxxx |
| Date: | Tue, 5 Jan 2016 14:53:03 -0600 |
| Delivered-to: | xfs@xxxxxxxxxxx |
The following patches begin to cleanup the request->cmd_flags and bio->bi_rw mess. We currently use cmd_flags to specify the operation, attributes and state of the request. For bi_rw we use it for similar info and also the priority but then also have another bi_flags field for state. At some point, we abused them so much we just made cmd_flags 64 bits, so we could add more. The following patches seperate the operation (read, write discard, flush, etc) from cmd_flags/bi_rw. This patchset was made against linux-next from today Jan 5 2016. (git tag next-20160105). v2. 1. Dropped arguments from submit_bio, and had callers setup bio. 2. Add REQ_OP_FLUSH for request_fn users and renamed REQ_FLUSH to REQ_PREFLUSH for make_request_fn users. 3. Dropped bio/rq_data_dir functions, and added a op_is_write function instead. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [resend PATCH 3/3] writeback: fix false positive WARN in __mark_inode_dirty, Dan Williams |
|---|---|
| Next by Date: | [PATCH 01/35] block/fs/drivers: remove rw argument from submit_bio, mchristi |
| Previous by Thread: | [PATCH V3] xfs: eliminate committed arg from xfs_bmap_finish, Eric Sandeen |
| Next by Thread: | [PATCH 01/35] block/fs/drivers: remove rw argument from submit_bio, mchristi |
| Indexes: | [Date] [Thread] [Top] [All Lists] |