Re: [PATCH] netfs: If didn't read new data then abandon retry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Lizhi Xu <lizhi.xu@xxxxxxxxxxxxx> wrote:

> >      (1) Replace NETFS_SREQ_NO_PROGRESS with NETFS_SREQ_MADE_PROGRESS and make
> >          the filesystem set it if it managed to read or write at least one byte
> >          of data.  Clear this bit before issuing a subrequest.
> Will there be conflicts when reading and writing use the same flag to mark?

No, because, at the moment, a read done by a write (e.g. RMW with crypto) or a
write done by a read (e.g. writing just-read data to the cache) are handled
with an additional request structure since the set regions involved may differ
(RMW only needs read the unmodified ends for example).

David






[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux