Re: [PATCH 2/3] zonefs: open/close zone on file open/close

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

 



On 07/09/2020 05:06, Damien Le Moal wrote:
> May be you meant something like "leave a zone not active after a truncate when
> the zone file is open for writing" ?

No I meant, we shouldn't decrement the 's_open_zones' count on truncate to 0
or full, when a zone is still opened for write. Because if we do, another thread
could open the last available open zone and the application won't be able to write
to a previously opened zone, if that makes sense.




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux