Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1731086
| From | Jaegeuk Kim <jaegeuk@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [f2fs-dev] [PATCH] f2fs: fix double count on issued discard commands |
| Date | 2017-09-12 19:20 +0200 |
| Message-ID | <uoX0T-48V-23@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <uonJL-5sB-7@gated-at.bofh.it> <uoIEy-31E-7@gated-at.bofh.it> <uoKwG-4jB-1@gated-at.bofh.it> <uoL9n-4Vo-3@gated-at.bofh.it> <uoL9n-4Vo-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 09/12, Daeho Jeong wrote: > > Yeah, that's exactly like what I made a mistake before. > > I should have mentioned that earlier. :) > > Or I think the previous code which used "iter++" might be right. > You might just want to check the fixed number of small discards, DISCARD_ISSUE_RATE, > when issue_cond is "true". > > Anyways, I have another question about this function. > How about just issuing, not checking whether it is idle, the fixed number of small > discards, DISCARD_ISSUE_RATE, when issue_cond is "true". > Actually, the discard commands will be issued as "asynchronous" requests, > which has a low priority in the I/O scheduler, > so the performance degradation of other threads by doing this will not be much severe, > but we can make the performance of the storage device better even if there is no idle. I don't think I/O scheduler can efficiently prioritize discard commands and user requests. The proper way that we can do would be waiting for idle time at this moment. Thanks, > > I am just worried about the storage device I/O performance gets worse > under I/O intensive senario where there is no idle > > Thanks,
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] f2fs: fix double count on issued discard commands Jaegeuk Kim <jaegeuk@kernel.org> - 2017-09-11 05:40 +0200
Re: [f2fs-dev] [PATCH] f2fs: fix double count on issued discard commands Chao Yu <yuchao0@huawei.com> - 2017-09-12 04:00 +0200
Re: [f2fs-dev] [PATCH] f2fs: fix double count on issued discard commands Chao Yu <yuchao0@huawei.com> - 2017-09-12 06:00 +0200
Re: [f2fs-dev] [PATCH] f2fs: fix double count on issued discard commands Jaegeuk Kim <jaegeuk@kernel.org> - 2017-09-12 06:30 +0200
Re: [f2fs-dev] [PATCH] f2fs: fix double count on issued discard commands Daeho Jeong <daeho.jeong@samsung.com> - 2017-09-12 06:40 +0200
Re: [f2fs-dev] [PATCH] f2fs: fix double count on issued discard commands Jaegeuk Kim <jaegeuk@kernel.org> - 2017-09-12 19:20 +0200
Re: [f2fs-dev] [PATCH] f2fs: fix double count on issued discard commands Chao Yu <yuchao0@huawei.com> - 2017-09-13 09:20 +0200
Re: [f2fs-dev] [PATCH] f2fs: fix double count on issued discard commands Daeho Jeong <daeho.jeong@samsung.com> - 2017-09-13 10:50 +0200
csiph-web